Commit f3a03ebd authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4871] add <stdbool.h> to rwlock_condvar.h because it's needed on osx

git-svn-id: file:///svn/toku/tokudb@43468 c7de825b-a66e-492c-adef-691d508d4ae1
parent b6fe6a31
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
#ident "$Id$" #ident "$Id$"
#ident "Copyright (c) 2010 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2010 Tokutek Inc. All rights reserved."
#include <stdbool.h>
// Fair readers/writer locks. These are fair (meaning first-come first-served. No reader starvation, and no writer starvation). And they are // Fair readers/writer locks. These are fair (meaning first-come first-served. No reader starvation, and no writer starvation). And they are
// probably faster than the linux readers/writer locks (pthread_rwlock_t). // probably faster than the linux readers/writer locks (pthread_rwlock_t).
struct toku_cv_fair_rwlock_waiter_state; // this structure is used internally. struct toku_cv_fair_rwlock_waiter_state; // this structure is used internally.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment