]> pd.if.org Git - btree/commitdiff
linux only fosterbtree code utilizing system futexes for latch contention
authorunknown <karl@E04.petzent.com>
Thu, 23 Jan 2014 23:04:31 +0000 (15:04 -0800)
committerunknown <karl@E04.petzent.com>
Thu, 23 Jan 2014 23:04:31 +0000 (15:04 -0800)
fosterbtreeg.c

index 7e78f6087baa7ed48272c91985b6b495b8b3d6db..9719cf5723150fda1b1548bc0700dac71f860d3a 100644 (file)
@@ -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