can you block a thread in GHC by its threadID?
Bernard James POPE
bjpop at cs.mu.OZ.AU
Tue Jun 22 05:30:05 EDT 2004
On Tue, Jun 22, 2004 at 10:37:54AM +0200, Volker Stolz wrote:
> 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).
If you could find them that would be great.
Cheers,
Bernie.
More information about the Glasgow-haskell-users
mailing list