From: unknown Date: Thu, 23 Jan 2014 23:04:31 +0000 (-0800) Subject: linux only fosterbtree code utilizing system futexes for latch contention X-Git-Url: https://pd.if.org/git/?p=btree;a=commitdiff_plain;h=fe2ddf2193540d99fa9fb6ecf93beed5b66b8808 linux only fosterbtree code utilizing system futexes for latch contention --- diff --git a/fosterbtreeg.c b/fosterbtreeg.c index 7e78f60..9719cf5 100644 --- a/fosterbtreeg.c +++ b/fosterbtreeg.c @@ -1356,7 +1356,7 @@ int reuse; // lock allocation page - bt_spinwritelock(bt->mgr->latchmgr->lock, 1); + bt_spinwritelock(bt->mgr->latchmgr->lock, 0); // use empty chain first // else allocate empty page