mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
compile
This commit is contained in:
parent
5da3be0bf3
commit
be4e916110
@ -46,7 +46,7 @@ public:
|
|||||||
T* head() const { return _head; }
|
T* head() const { return _head; }
|
||||||
|
|
||||||
void push(T* t) {
|
void push(T* t) {
|
||||||
boostlock lk(_m);
|
boost::mutex::scoped_lock lk(_m);
|
||||||
t->_next = _head;
|
t->_next = _head;
|
||||||
_head = t;
|
_head = t;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user