Commit Graph

18 Commits

Author SHA1 Message Date
dwight
1f8f805cbf Merge branch 'master' of github.com:mongodb/mongo 2011-10-06 14:55:34 -04:00
dwight
b28ef7426a pause instruction is pretty important for spin locks 2011-10-06 14:55:30 -04:00
Eliot Horowitz
61d26a0e8c Revert "Wait 1ms between attempt to grab posix_spinlock SERVER-3822"
This reverts commit 2ebc3ba2c8.
2011-10-06 14:39:11 -04:00
Mathias Stearn
2ebc3ba2c8 Wait 1ms between attempt to grab posix_spinlock SERVER-3822 2011-10-05 19:36:49 -04:00
Dwight
fb3fac3dff use _WIN32, not WIN32 2011-05-11 11:45:47 -04:00
Eliot Horowitz
3407e2109f use pthread spinlock when available 2011-05-10 16:48:45 -04:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
dwight
948b3ad552 delet ecritical seciotn 2010-08-26 23:51:03 -04:00
dwight
f248d53177 take a crack at spinlock for win 2010-08-26 22:10:13 -04:00
dwight
246cc9851e nullf unc 2010-08-26 21:12:53 -04:00
dwight
b8efa65bfc mak evisual studio happy 2010-08-26 21:09:51 -04:00
Eliot Horowitz
dae8c2de8b fix legacy spinlock 2010-08-26 17:51:18 -04:00
Eliot Horowitz
86f42e62f1 more spin lock fixes 2010-08-26 17:45:46 -04:00
Eliot Horowitz
c29e819207 fix spin lock for real 2010-08-26 17:44:55 -04:00
Eliot Horowitz
553c778780 for now, use RWLock for spinlock since legacy boost doesn't have a nice api 2010-08-26 17:31:23 -04:00
Alberto Lerner
18daedd25c spinlock fallback implementation when test-and-set is not available 2010-08-26 16:06:26 -04:00
Alberto Lerner
ade56fd729 Build fix (Win 64bit) 2010-06-02 14:25:02 -04:00
Alberto Lerner
4921fd2d1d Support for cumulative stats for mongod 2010-06-02 13:43:18 -04:00