Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
dwight
70d2689d23
dur
2010-11-17 01:53:52 -05:00
dwight
80ee773a16
optimization: avoid an extra thread local lookup on locks
2010-10-19 13:25:23 -04:00
dwight
2c8ce15417
put hotter things adjacent for cache friendliness
2010-10-07 00:56:12 -04:00
dwight
3c50843ca7
mongomutex deserves its own file
2010-10-07 00:12:32 -04:00
Dwight
9d00c0c7e9
dur
2010-10-04 17:05:31 -04:00
Dwight
77ba80066c
cleaning
2010-10-04 17:00:48 -04:00
Alberto Lerner
5f7500bf01
Pull timer.h and time_support.h out of goodies.h
...
The code on both the new header files is essentially the same. This
commit just adjusted #include in dependent modules. The new headers
did not make to pch.h.
This change is in preparation for some improvements in code that is
now in time_support.h
2010-09-16 09:18:46 -04:00
dwight
e3d9b61b12
cleaning
2010-07-01 17:52:07 -04:00
Dwight
082a592291
pretouch experiment
2010-06-30 15:56:59 -04:00
Eliot Horowitz
35031d43d7
have read/write lock on all platforms/boost now
2010-06-29 22:17:15 -04:00
Mathias Stearn
c6ed1eb85f
Block writes when not holding write-lock in debug build
2010-06-24 11:05:10 -04:00
dwight
ac3c063d90
beNice()
2010-06-07 02:22:43 -04:00
Eliot Horowitz
3fa7349013
repl: only try to get a write lock for keepalive
2010-06-04 23:07:41 -04:00
Dwight Merriman
37f2cc06a5
rwlocks participate in mutexDebugger
2010-05-27 15:21:10 -04:00
Dwight Merriman
fa5bb38499
locks.h seems to be in diff directory now? fixing include
2010-05-26 01:13:33 -04:00
Dwight
1ea54f26ab
elim dbunlocking_write
2010-05-17 10:16:57 -04:00
Dwight
fba2392bb7
err no wrong
2010-05-06 15:45:59 -04:00
Dwight
edefb29e37
rs and lots of misc including dbwebserver
2010-05-06 15:38:58 -04:00
Eliot Horowitz
440388c0de
fix boost lock
2010-03-31 14:44:11 -04:00
Eliot Horowitz
e8583f2a6b
switch to pthread_rw lock on support platforms SERVER-824
2010-03-31 14:33:49 -04:00
Aaron
691de0d1ba
SERVER-816 cleaning
2010-03-30 15:04:54 -07:00
Eliot Horowitz
71da97dd22
DEB debugging to make sure we don't have unknown write lockers
2010-03-12 23:09:51 -05:00
Eliot Horowitz
6d0bc9cc2f
fix auth recursive lock issue
2010-02-25 13:47:59 -05:00
Dwight
a61c72881e
fix a couple things in vcproj for release builds
2010-02-23 13:10:09 -05:00
Eliot Horowitz
b88e91c8f5
clean up curop read/write detection
2010-02-10 15:16:00 -05:00
Richard Kreuter
b96e4b2976
Add license headers to .cpp & .h files that lacked them. MINOR
2010-02-09 16:48:21 -05:00
Eliot Horowitz
dc9f26e421
readlocktry - use in webserver so more reliabliy works
2010-02-09 12:35:26 -05:00
Eliot Horowitz
ecc40e19db
added waitingForLock to curop
2010-02-09 10:25:05 -05:00
Eliot Horowitz
7674785f2f
check for read lock and read only doesn't work on old versions of boost
2010-02-05 12:44:08 -05:00
Eliot Horowitz
52427e60eb
debugging MINOR
2010-02-04 22:51:57 -05:00
Eliot Horowitz
8ef72cbff5
warning fix
2010-02-04 14:08:34 -05:00
Eliot Horowitz
baf0d1a4ae
variable wasn't getting initialized in MutexInfo
2010-02-04 12:11:44 -05:00
Eliot Horowitz
146d15a1d6
added accessor to MutexInfo
2010-02-02 16:37:44 -05:00
Aaron
eab0cc8da6
merge
2010-02-02 10:03:15 -08:00
Aaron
0131eaf887
Add debugging support for multiple destructors, and some guards to prevent this condition from arising
2010-02-01 15:41:04 -08:00
Dwight
adf21e9404
block administrative things like dropping namespace while a background index job is in progress
2010-01-22 15:17:03 -05:00
unknown
84d1ca75f7
SERVER-255 lock on fsync for snapshotting
...
will be doc'd later today
2010-01-02 11:01:47 -05:00
Eliot Horowitz
0130ac4b3b
more aggregious boost warnings
2009-12-30 15:58:16 -05:00
Eliot Horowitz
0ab8149a8e
uassert/massert take error code SERVER-112
2009-12-28 16:43:43 -05:00
Eliot Horowitz
8ea3e9f74a
fix old boost version
2009-12-05 23:47:24 -05:00
Eliot Horowitz
9cad87e7be
concurrency: fix dbtemprelease - make it unlock/lock the correct type
2009-12-05 23:46:00 -05:00
Dwight
078c8821d4
locking no longer required on SavedContext - if you had no context to be saved...
2009-12-04 16:45:44 -05:00
Dwight
dcd9411abf
SavedContext now assumes already (at least) locked if there is an existing context. not sure if
...
that was the case but if not it was probably wrong already.
read locks can now be nested
2009-12-04 11:18:42 -05:00
Dwight
ff0ddc89ed
nicer error msg
2009-12-03 16:41:12 -05:00
Dwight
dc01c83a75
bug fix for old boost
2009-12-03 15:24:16 -05:00
Dwight
d4bb21cc66
make MongoMutex recursive
2009-12-03 14:14:06 -05:00
Dwight
48217c0650
some mongomutex cleanup
2009-12-03 13:48:45 -05:00
Dwight
f05b2a328e
fix boost 1.34
2009-12-03 13:14:41 -05:00
Dwight
ad9d8bbdb4
clean up MutexInfo
2009-12-03 13:12:51 -05:00