<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
pthreads is the default, and I suspect it is the only thing that works currently.<BR>
<BR>
I started debugging why it wasn't working on PPC_LINUX, the reason seemed to be that the initial thread was used before it was allocated, but I stopped debugging and just switched to pthreads.<BR>
NetBSD/x86 didn't work as it was -- didn't even compile I think -- so I switched it to pthreads as well. (I'll have a NetBSD/x86 archive up very soon.)<BR>
<BR>
I might go back and debug these again..<BR>
<BR>
- Jay<BR><BR> <BR>> Date: Wed, 25 Mar 2009 20:43:07 -0400<BR>> From: hendrik@topoi.pooq.com<BR>> To: m3devel@elegosoft.com<BR>> Subject: Re: [M3devel] Am I experiencing garbage collection?<BR>> <BR>> On Thu, Mar 26, 2009 at 11:26:55AM +1100, Tony Hosking wrote:<BR>> > That's good (from my perspective) because I worried the collector was <BR>> > getting in the way. Looks like something else perhaps. I suggest <BR>> > profiling somehow to get a sense as to what is interrupting you. Are <BR>> > you running with pthreads?<BR>> <BR>> I don't know whether I'm using pthreads. I just grabbed the source <BR>> from the web site and compiled for a while.<BR>> <BR>> Critical Mass Modula-3 version d5.7.0<BR>> last updated: 2008-03-16<BR>> compiled: 2008-04-09 01:32:11<BR>> configuration: /usr/local/cm3/bin/cm3.cfg<BR>> <BR>> Anyway, pthreads or not, my process isn't the only one on the machine.<BR>> <BR>> And there's easy application-dependent workarounds. And some changes I <BR>> have to make for other reasons will probably bypass the problem <BR>> I'm having now anyway.<BR>> <BR>> Let me say that your surprise at the thought that the garbage collector <BR>> could be causing these interruptions is a strong indication that I <BR>> won't have to worry about collection delays.<BR>> <BR>> -- hendrik<BR></body>
</html>