[M3devel] [M3commit] CVS Update: cm3

Jay K jay.krell at cornell.edu
Mon Nov 30 19:15:49 CET 2009


Interix is Posix (mostly) on NT, with fast fork.

  Cygwin in comparison is very slow.

  However SIGINFO is not available. Nor is "direct suspend" using a pthread_t I believe.

The older Interix version on XP does not allow access to any Win32 functions.

Newer versions do.

This does seem to be a pretty useful platfom.

Gui should be available too, but I have to work around some problem.

 

 - Jay

 


From: hosking at cs.purdue.edu
Date: Mon, 30 Nov 2009 09:48:48 -0500
To: jkrell at elego.de
CC: m3devel at elegosoft.com
Subject: Re: [M3devel] [M3commit] CVS Update: cm3




This whole interix thing is pretty messy.  Why do we care?  If you are on Windows just use Windows threads.   No need to pollute the pthreads code base with unnecessary complications for weird hybrids.


On 30 Nov 2009, at 13:03, Jay Krell wrote:

CVSROOT: /usr/cvs
Changes by: jkrell at birch. 09/11/30 13:03:07

Modified files:
cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 

Log message:
keep two thread handles
what to call them is unclear
here we ahve:
joinHandle
suspendResumeHandle

aka:
pthread
ntthread

on all but Interix (and possibly Cygwin), they are equivalent,
either the result of pthread_create or pthread_self

on Interix, once is pthread_create/self, the other is a kernel handle
for suspend/resume

alternate names welcome
the intent seems hoky, but helps much

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091130/ba0702ef/attachment-0002.html>


More information about the M3devel mailing list