<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
It is all dead actually.<BR>
There is an implementation of get/set/make/swapcontext over setjmp/longjmp, that worked and I think was in use, but I ended up smushing the layers together over in thread/POSIX. The layer was extremely thin so I think good to smush out.<BR>
Windows user threads might be possible with fibers. Might. Probably smushing the layers would again be preferred, in a new src/thread/winfiber. Probably won't ever happen though.<BR>
 <BR>
 - Jay<BR><BR> <BR>> From: hosking@cs.purdue.edu<BR>> Date: Fri, 9 Apr 2010 12:59:24 -0400<BR>> To: jkrell@elego.de<BR>> CC: m3commit@elegosoft.com<BR>> Subject: Re: [M3commit] CVS Update: cm3<BR>> <BR>> What's all the stuff in m3core/src/context?<BR>> If it is only for Windows why doesn't it go somewhere with all the Windows code?<BR>> I fear that the directory structure has become a little disorganised.<BR>> <BR>> On 9 Apr 2010, at 11:28, Jay Krell wrote:<BR>> <BR>> > CVSROOT: /usr/cvs<BR>> > Changes by: jkrell@birch. 10/04/09 11:28:42<BR>> > <BR>> > Modified files:<BR>> > cm3/m3-libs/m3core/src/: m3core.h <BR>> > cm3/m3-libs/m3core/src/context/: tcontext.c <BR>> > cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c <BR>> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c <BR>> > cm3/m3-libs/m3core/src/time/POSIX/: TimePosixC.c <BR>> > cm3/m3-libs/m3core/src/unix/Common/: Ugrp.c Unetdb.c Usocket.c <BR>> > UtimeC.c <BR>> > cm3/m3-libs/m3core/src/unix/Common/context/setjmp/: tcontext.c <BR>> > cm3/m3-libs/m3core/src/unix/Common/context/sigaltstack/: <BR>> > tcontext.c <BR>> > <BR>> > Log message:<BR>> > in general remove the use of "typedef struct foo foo_t"<BR>> > or at least the subsequent uses of foo_t<BR>> > While I strongly favor this style -- terse typography<BR>> > to indicate a type -- it is just not worth the risk<BR>> > where we don't have adequate control to ensure it will work.<BR>> > Sun has introduced the same typedefs in some cases,<BR>> > which is somewhat noble of them, but then we get warnings.<BR>> > In this step, the actual typedefs remain, just the uses gone.<BR>> <BR>                                        </body>
</html>