diff options
Diffstat (limited to 'src/mongo/util/concurrency/spin_lock.cpp')
-rw-r--r-- | src/mongo/util/concurrency/spin_lock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/concurrency/spin_lock.cpp b/src/mongo/util/concurrency/spin_lock.cpp index d797d3cb762..cbd72e9f9d6 100644 --- a/src/mongo/util/concurrency/spin_lock.cpp +++ b/src/mongo/util/concurrency/spin_lock.cpp @@ -69,7 +69,7 @@ void SpinLock::_lockSlowPath() { t.tv_nsec = 5000000; while (!_tryLock()) { - nanosleep(&t, NULL); + nanosleep(&t, nullptr); } } |