[M3devel] Downsides of Modula-3 ?

Mika Nystrom mika at async.caltech.edu
Fri Apr 27 19:13:40 CEST 2012


=?utf-8?Q?Dragi=C5=A1a_Duri=C4=87?= writes:
...
>I am reading your source code just now. And one thing caught my eye: =
>"Each type of thread starts by sleeping for a while, to give the other =
>threads a chance to be created." Does not look like any guarantee to me, =
>not in threaded application.=20=

If the program prints "running" then all threads have been created.

It eventually prints "running".

Therefore all threads are created.

---

The things wrong with CM3's pthreads threading are NOT subtle.
The runtime completely freezes up, ctrl-C stops working, and other
such things.

    Mika



More information about the M3devel mailing list