[M3devel] threading on Windows?
Jay K
jay.krell at cornell.edu
Sun Feb 13 00:37:12 CET 2011
I assume he means "the thread tester should work"?
But agreed, the vast vast vast vast majority of things are ok and have been ok for the vast vast vast majority of Modula-3's existance.
Even in recent years. pthreads and user threads.
Infinite loops with TRY in January 2011 would use infinite stack. Understood.
Finite loops would merely use more than they should and reclaim upon function return.
cvsupd didn't work for a while with pthreads. Because of its use of "fork and do more work" and its assumption
that all threads survive fork. Relatively few programs do that and they were all broken by pthreads.
The new thread tester probably needs more attention.
- Jay
> Subject: Re: [M3devel] threading on Windows?
> From: hosking at cs.purdue.edu
> Date: Sat, 12 Feb 2011 18:27:43 -0500
> CC: jay.krell at cornell.edu; m3devel at elegosoft.com
> To: mika at async.caltech.edu
>
> Mika,
>
> I have no idea what the issue is here. But I do note that AMD64_LINUX with pthreads used to run just fine. I ran a bunch or stress tests when first ported to that target and all seemed good. What is preventing you using pthreads on this target?
>
> -- Tony
>
> On Feb 11, 2011, at 8:57 PM, Mika Nystrom wrote:
>
> > I would like to find one configuration (any configuration!!) that lets
> > me run a multithreaded program under AMD64_LINUX. I don't care what
> > version of the compiler it is, whether the threads are user or pthreads,
> > how many things I have to hack. Does anyone know what I need to do?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20110212/34417a5a/attachment-0002.html>
More information about the M3devel
mailing list