<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>ok, I partially take that back.<BR>
It looks like pthreads are the path of least resistance.. but still probably not great perf since cygwin pthread mutexes are kernel objects.. (Win32 critical sections only involve the kernel if there is contention, Win32 mutexes are kernel objects.)<BR>
<BR>
- Jay<BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
From: jayk123@hotmail.com<BR>To: m3devel@elegosoft.com<BR>Subject: nt386gnu threads?<BR>Date: Mon, 28 Jan 2008 11:29:31 +0000<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass EC_body.hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
Can anyone confirm my read that PM3's NT386GNU used user/vtalarm threads?<BR>PM3 appears to have no PThread support ant its NT386GNU appears to have OS_TYPE=POSIX.<BR>Heck, even its NT386 has OS_TYPE=POSIX, but its NT386 is probably dead/broken.<BR> <BR>1) I'm too lazy to tediously rewrite Cygwin's pthread.h et. al. into Modula-3.<BR>2) The thread library you pick is not an independent decision.<BR> The Modula-3 File I/O libraries interact with the threading library at least a little bit.<BR> <BR>The path of less resistance seems to be user/vtalarm threads for now, until<BR>such time as Cygwin Upthread.i3 is written.<BR>(That is, neither pthreads nor win32 satisfied my laziness; I'm going to try user/vtalarm threads, see how it goes; I'm sure they aren't very good, but...)<BR> <BR> - Jay<BR><BR><BR><BR><BR><BR>
<HR>
Shed those extra pounds with MSN and The Biggest Loser! <A href="http://biggestloser.msn.com/" target=_blank>Learn more.</A> </BLOCKQUOTE><br /><hr />Need to know the score, the latest news, or you need your HotmailŪ-get your "fix". <a href='http://www.msnmobilefix.com/Default.aspx' target='_new'>Check it out.</a></body>
</html>