[M3devel] [M3commit] CVS Update: cm3
Tony Hosking
hosking at cs.purdue.edu
Mon Nov 30 15:48:48 CET 2009
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/b6587ec7/attachment-0001.html>
More information about the M3devel
mailing list