<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
btw, I don't think it's that hairy, I merely split it into two or three files, and added interfaces so they can reuse code with each other. Movement between files is hard to track though (depending on version control, but with all I've used).<BR>
<BR>
The SchedulerPosix implementation moved to ThreadPScheduler.m3.<BR>
What is shared between it and ThreadPThread/Win32.m3 is ThreadInternal.i3, which maybe should be in ThreadF.i3, though that's exposed outside m3core, and ThreadInternal.i3 includes a variable.<BR>
<BR>
I can try again to debug Cygwin pthreads though.<BR>
<BR>
- Jay<BR><BR><BR>> From: hosking@cs.purdue.edu<BR>> To: jkrell@elego.de<BR>> Date: Mon, 12 Jan 2009 11:03:33 +1100<BR>> CC: m3devel@elegosoft.com<BR>> Subject: Re: [M3devel] [M3commit] CVS Update: cm3<BR>> <BR>> Jay,<BR>> <BR>> Can you remind me again why Cygwin was unable to use pthreads? It <BR>> seems you have introduced a bunch of hair into the PTHREADS <BR>> implementation to deal with broken Cygwin pthreads. As many of us <BR>> have already pointed out, Cygwin should be a port that tries as much <BR>> as possible to be like a standard POSIX platform (pthread-based) as <BR>> opposed to a weird Windows/POSIX hybrid.<BR>> <BR>> I have a bunch of code that will be going into the PTHREADS base that <BR>> I am now at a loss to integrate with the changes you have made.<BR>> <BR>> Help!<BR>> <BR>> -- Tony<BR>> <BR><BR></body>
</html>