From bb09ff865e0551f454d7dfcd8c71b8fccb7a71ed Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sat, 17 Oct 2009 15:03:25 +0000 Subject: [PATCH] doc R6RS hash tables thread-safe svn: r16351 --- collects/r6rs/scribblings/r6rs.scrbl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/collects/r6rs/scribblings/r6rs.scrbl b/collects/r6rs/scribblings/r6rs.scrbl index d86911e51d..c663abb531 100644 --- a/collects/r6rs/scribblings/r6rs.scrbl +++ b/collects/r6rs/scribblings/r6rs.scrbl @@ -9,12 +9,14 @@ rnrs/conditions-6 rnrs/io/simple-6 rnrs/r5rs-6 + rnrs/hashtables-6 r6rs (only-in scheme/base lib current-library-collection-paths parameterize - uncaught-exception-handler))) + uncaught-exception-handler + make-hash))) @(define guide-src '(lib "scribblings/guide/guide.scrbl")) @@ -1116,7 +1118,11 @@ See also @secref["conformance"]. (hashtable-clear! #f "r6rs-lib-Z-H-14.html" "node_idx_1204") (equal-hash #f "r6rs-lib-Z-H-14.html" "node_idx_1218")] -A hashtable is a dictionary in the sense of @schememodname[scheme/dict]. +A hashtable is a dictionary in the sense of +@schememodname[scheme/dict], and hash table operations interact with +threads in the same way for hash tables created with +@scheme[make-hash] (e.g., @scheme[hashtable-ref] and +@scheme[hashtable-set!] are thread-safe). @r6rs-module[rnrs/enums-6 (rnrs enums (6)) "r6rs-lib-Z-H-15.html" "node_idx_1226" "Enumerations"