guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Release 1.6 critical TODO items.


From: Neil Jerram
Subject: Re: Release 1.6 critical TODO items.
Date: 11 Mar 2002 20:33:30 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Marius" == Marius Vollmer <address@hidden> writes:

    Marius> Yes, that's what I wanted you to do.  I also speculated about how to
    Marius> make this easier with some compact syntax like

    Marius>     (begin-synchronized
    Marius>       ...)

    Marius> where the 'begin-synchronized' form is only being executed by at 
most
    Marius> one thread at any one time.  This should encourage people to 
actually
    Marius> synchronize their code properly.  Since this should be a common 
thing
    Marius> to do, I was asking whether one of the threading SRFIs deals with
    Marius> this.

The Java API is nice in this area, and slightly more general:

        (begin-synchronized OBJECT
          BODY ...)

The effect is that only one thread at a time can execute any of the
blocks that share the same OBJECT.

`wait' and `notify' are nice, too, IMO.

But, as Marius says, we should check the SRFIs!

        Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]