<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
The code is frequently wrong for user threads.<br>So much so that cvsup had cloned some code in order to put in fixes along these lines.<br>I did undo this though.<br><br> - Jay<br><br>> From: hosking@cs.purdue.edu<br>> Date: Mon, 27 Dec 2010 12:30:38 -0500<br>> To: jkrell@elego.de<br>> CC: m3commit@elegosoft.com<br>> Subject: Re: [M3commit] CVS Update: cm3<br>> <br>> You are debasing the primary use-case, which is system threading, to support what should be a deprecated target (user threads).<br>> <br>> Antony Hosking | Associate Professor | Computer Science | Purdue University<br>> 305 N. University Street | West Lafayette | IN 47907 | USA<br>> Office +1 765 494 6001 | Mobile +1 765 427 5484<br>> <br>> <br>> <br>> <br>> On Dec 27, 2010, at 1:45 PM, Jay Krell wrote:<br>> <br>> > CVSROOT: /usr/cvs<br>> > Changes by: jkrell@birch. 10/12/27 13:45:34<br>> > <br>> > Modified files:<br>> > cm3/m3-libs/m3core/src/unix/Common/: UnixC.c <br>> > <br>> > Log message:<br>> > Some wrappers might be used specifically while waiting for<br>> > other threads to progress. e.g. don't disable switching in sleep().<br>> > More wrappers to consider.<br>> > Only matters for user threads..<br>> <br> </body>
</html>