[plt-scheme] Thread synchronization for dummies

From: Erich Rast (erich at snafu.de)
Date: Thu May 28 14:49:11 EDT 2009

Hi,

Suppose I have a function FOO with side effects (filesystem access)  
and would like to ensure that if this function is called by two  
different threads A and B at the same time, either A executes FOO  
entirely and then B executes FOO entirely or vice versa. In other  
words, I'm looking for something like "synchronized" does in Java.

How to?

Best regards,

Erich


Posted on the users mailing list.