[plt-scheme] Synchronizing
The help desk could not find channels. Can you be a bit more specific?
Katsmall the Wise
By the way, thanks for the fast responses!
Robby Findler wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>You should probably use channels instead. Have the many threads put
>values into the channel and then have one thread takes values out of
>the channel and draws them. (Channels are only in the latest CVS
>version; in 203 use semaphores (and suffer))
>
>Robby
>
>At Tue, 22 Apr 2003 22:35:56 +0200, Katsmall the Wise wrote:
>
>
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
>>I would like to make a procedure, that may be called from many threads,
>>but if it is called from two threads at the same time it will block the
>>second one until the first one finishes, and then run it.
>>
>>I want this because I have many drawing procedures that merely add
>>something to a list, and appearantly some things get deleted because the
>>procedures are called at the same time.
>>
>>Is there a simple solution to this?
>>
>>Katsmall the Wise
>>
>>
>>
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20030422/0254116d/attachment.html>