Bruno Boettcher <[EMAIL PROTECTED]> writes:

> computation is made by methods (which may contain yields) called through a
> select in the run-method of each thread, after computation the thread is
> blocked by a self-build semaphor.  Each thread has a wake method, which sets
> the desired computation and send a notify to unblock the semaphor. The dummy
> method contains only a return, nothing more.

This is interesting.  However, I am a bit confused, and I need some
clarification.  So a thread may:

1. yield; or
2. semaphore-block

When does each happen?  Does #1 happen once in a while?  Does #2
happen only when the thread has finished all of its tasks?

Meanwhile, I will try a few experiments based on this description.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to