[plt-scheme] plt-threads in r6rs

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Oct 17 10:06:43 EDT 2009

At Fri, 16 Oct 2009 02:01:35 -0700 (PDT), sballnat wrote:
> I'm writing an r6rs-script using some functions imported from (scheme
> base) and (scheme tcp). I'm especially using threads and want to make
> sure everything is thread-safe as described in the manual (10.1
> Threads). There it is said that most operations are atomic (like set!)
> or in case of hashtables they have semaphores. Now, I wonder if this
> is still true for r6rs-operations and hashtables.

Yes. R6RS hash tables are built on `scheme/base' hash tables, and they
inherit the latter's thread-related properties.

(I'll add a note in the documentation.)

Posted on the users mailing list.