Browse thread
Re: [Caml-list] Future of labels
-
Yaron M. Minsky
-
Jacques Garrigue
-
Judicael Courant
- Markus Mottl
-
kahl@h...
- Jacques Garrigue
- Chris Hecker
-
Judicael Courant
-
Jacques Garrigue
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2001-04-04 (17:30) |
From: | Vitaly Lugovsky <vsl@o...> |
Subject: | Re: [Caml-list] Suspending threads |
On Wed, 4 Apr 2001, Ohad Rodeh wrote: > List, > I'm trying to suspend a thread and then > have another thread wake it up. However, > I can't find a suspend (nor a dual wake-up) function in > the Threads library. > > Any help? I'm using a condition for it. Suspended thread waits a condition to be released, and other releases it after forwarding a request to be executed in suspended thread. If you need an example, I can send you a threads pool module used in my multithreaded server. It looks much better then the same Java code. ;) ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr