diff options
author | Aaron <aaron@10gen.com> | 2010-03-10 00:39:26 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-03-10 00:39:26 -0800 |
commit | eb7cde3e751b02eae055a922af8985fe52c807fa (patch) | |
tree | 2e233ffffb850b8cf7d3e6f01bf977fa24146457 /db/nonce.cpp | |
parent | 26b6ffe30a81e80cafd427ca0c78e072ff918f23 (diff) | |
download | mongo-eb7cde3e751b02eae055a922af8985fe52c807fa.tar.gz |
Revert "SERVER-695 don't destroy static global mutexes"
This reverts commit 714ec2fdc8e9c8dc1c2cdf5486afdbc185beef14.
Diffstat (limited to 'db/nonce.cpp')
-rw-r--r-- | db/nonce.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/nonce.cpp b/db/nonce.cpp index d8db58dfa57..4c677bef342 100644 --- a/db/nonce.cpp +++ b/db/nonce.cpp @@ -49,8 +49,8 @@ namespace mongo { } nonce Security::getNonce(){ - static mongo::mutex m; - scoped_lock lk(m); + static boost::mutex m; + boostlock lk(m); /* question/todo: /dev/random works on OS X. is it better to use that than random() / srandom()? |