can you block a thread in GHC by its threadID?

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Tue Jun 22 04:37:54 EDT 2004


In local.glasgow-haskell-users, you wrote:
> Ideally I'd like this function:
>    blockThread :: ThreadId -> IO ()
>    unBlockThread :: ThreadId -> IO ()

I should have some bit-rotted patches here for
freezeThread :: ThreadId -> IO ()
thawThread   :: ThreadId -> IO () and a new PrimOp which
allows you to set the next thread to run (at a first glance, at least
I could find the patch for the latter).

Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
Neu! Ändern Sie den Anfangstag Ihrer Woche


More information about the Glasgow-haskell-users mailing list