Skip to content

Commit 76c64d0

Browse files
committed
SERVER-4328 compile gcc
1 parent 99486e7 commit 76c64d0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/mongo/db/d_concurrency.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ namespace mongo {
5757
static void unlocking_w();
5858
static void unlocking_W();
5959
static QLock& q = *new QLock();
60+
TSP_DECLARE(LockState,ls);
6061
TSP_DEFINE(LockState,ls);
6162

6263
void runExclusively(void (*f)(void)) {

src/mongo/db/dur_commitjob.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ namespace mongo {
6262
AtomicUInt ThreadLocalIntents::nSpooled;
6363
}
6464

65+
TSP_DECLARE(dur::ThreadLocalIntents,tlIntents)
6566
TSP_DEFINE(dur::ThreadLocalIntents,tlIntents)
6667

6768
namespace dur {

0 commit comments

Comments
 (0)