[M3devel] ThreadF.{SuspendOthers,ResumeOthers}

Tony Hosking hosking at cs.purdue.edu
Thu Nov 5 04:07:12 CET 2009


Yikes.  Not what they are really intended for... I don't advocate ever  
exposing them again.

Enable/Disable only mean anything for user threads, otherwise no-ops.

For your purposes, I suppose you could re-expose them.

On 4 Nov 2009, at 17:31, Mika Nystrom wrote:

>
> Hello m3devel,
>
> I'm trying to build my software with the CVS head of CM3 and I just  
> ran
> into something.
>
> I've been using ThreadF.SuspendOthers and ThreadF.ResumeOthers  
> (together
> with some busy waiting) to simulate machines of different speeds.
> (Big application with lots of threads, split across several machines).
> This is only for testing of course.
>
> But these routines have now been moved into a private interface?
> Is there anything similar one can do?  Enable/DisableSwitching... or?
>
>     Mika

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091104/e907068e/attachment-0002.html>


More information about the M3devel mailing list