On 6/8/07, Maciej Szefler <[EMAIL PROTECTED]> wrote:
That strikes me addressing the issue at the wrong level in the
code---if we wants things to happen in one thread, then the engine
should just do them in one thread, i.e. not call scheduler until it
has given up on the thread. Introducing a new concept (work queue)
that is shared between the engine and integration layer would be
confusing... its bad enough that the IL uses the scheduler, which it
really should not.

FWIW, working off a single thread shouldn't be that bad.  The Erlang
VM design uses essentially this concept:

http://www.erlang.se/euc/05/1710OTPupdate.ppt

(Threads for IO, thread for work.)

-- Paul

Reply via email to