[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] mailbox: not working on 2.3?
From: |
Graham Fawcett |
Subject: |
Re: [Chicken-users] mailbox: not working on 2.3? |
Date: |
Wed, 12 Apr 2006 12:52:09 -0400 |
On 4/12/06, Thomas Chust <address@hidden> wrote:
> On Wed, 12 Apr 2006, Graham Fawcett wrote:
>
> > The mailbox egg does not work on my 2.3 build: it deadlocks on
> > mailbox-wait! if the mailbox is empty. [...]
>
> I think this is not a bug, but rather a desired behaviour. When you
> execute mailbox-receive! and the message queue is empty, the calling
> thread suspends. But as there are no other threads running, the scheduler
> realizes that the calling thread will never become active again and thus
> signals a deadlock exception.
Aha! Thank you, Thomas, that makes sense.
Graham