[plt-scheme] Synchronizing

From: Katsmall the Wise (kela_bit at netvision.net.il)
Date: Tue Apr 22 16:35:56 EDT 2003

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



Posted on the users mailing list.