about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-03 17:45:45 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-03 17:45:45 -0800
commit91774f18ae0bb044c24d75d275ccb90b1bd80ad0 (patch)
tree8d3d87471702177daa5075c0f3ada85d66a1aec5
parentc6c2f7782e2270ee4684d2405376a186aa806fcd (diff)
downloadruby-tdb-91774f18ae0bb044c24d75d275ccb90b1bd80ad0.tar.gz
One limitation that's easy to work around, for now.
-rw-r--r--README6
1 files changed, 4 insertions, 2 deletions
diff --git a/README b/README
index 7d3e408..6ac2c5e 100644
--- a/README
+++ b/README
@@ -25,8 +25,10 @@ write to the same databases used by Samba!
 These caveats will be addressed upstream in
 {TDB2}[http://mid.gmane.org/201008021002.47351.rusty@rustcorp.com.au]
 
-* NOT native thread-safe, you MUST protect your TDB object with a Mutex
-  if you run it with threads under Ruby 1.9 (but not 1.8).
+* NOT native thread-safe by default, you MUST initialize your TDB
+  objects with <code>:threadsafe => true</code> or call
+  TDB#threadsafe! on each TDB object if you run with threads
+  under Ruby 1.9 (but not 1.8).
 
 * Database size is limited to 4G, even on 64-bit systems.