summaryrefslogtreecommitdiff
path: root/src/mongo/util/concurrency
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/concurrency')
-rw-r--r--src/mongo/util/concurrency/idle_thread_block.cpp1
-rw-r--r--src/mongo/util/concurrency/idle_thread_block.h1
-rw-r--r--src/mongo/util/concurrency/mutex.h3
-rw-r--r--src/mongo/util/concurrency/notification.h1
-rw-r--r--src/mongo/util/concurrency/spin_lock.cpp3
-rw-r--r--src/mongo/util/concurrency/spin_lock.h3
-rw-r--r--src/mongo/util/concurrency/spin_lock_test.cpp1
-rw-r--r--src/mongo/util/concurrency/thread_name.cpp1
-rw-r--r--src/mongo/util/concurrency/thread_name.h1
-rw-r--r--src/mongo/util/concurrency/thread_pool.cpp1
-rw-r--r--src/mongo/util/concurrency/thread_pool.h1
-rw-r--r--src/mongo/util/concurrency/thread_pool_interface.h1
-rw-r--r--src/mongo/util/concurrency/thread_pool_test.cpp1
-rw-r--r--src/mongo/util/concurrency/thread_pool_test_common.cpp1
-rw-r--r--src/mongo/util/concurrency/thread_pool_test_common.h1
-rw-r--r--src/mongo/util/concurrency/thread_pool_test_fixture.cpp1
-rw-r--r--src/mongo/util/concurrency/thread_pool_test_fixture.h1
-rw-r--r--src/mongo/util/concurrency/ticketholder.cpp1
-rw-r--r--src/mongo/util/concurrency/ticketholder.h1
-rw-r--r--src/mongo/util/concurrency/ticketholder_test.cpp1
-rw-r--r--src/mongo/util/concurrency/value.h9
-rw-r--r--src/mongo/util/concurrency/with_lock.h1
-rw-r--r--src/mongo/util/concurrency/with_lock_test.cpp1
23 files changed, 4 insertions, 33 deletions
diff --git a/src/mongo/util/concurrency/idle_thread_block.cpp b/src/mongo/util/concurrency/idle_thread_block.cpp
index 61a0a1a8702..2886a24edd7 100644
--- a/src/mongo/util/concurrency/idle_thread_block.cpp
+++ b/src/mongo/util/concurrency/idle_thread_block.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/idle_thread_block.h b/src/mongo/util/concurrency/idle_thread_block.h
index 348aa1cacdc..a395012d30a 100644
--- a/src/mongo/util/concurrency/idle_thread_block.h
+++ b/src/mongo/util/concurrency/idle_thread_block.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/mutex.h b/src/mongo/util/concurrency/mutex.h
index 40a55ba352f..4e47c4e6df6 100644
--- a/src/mongo/util/concurrency/mutex.h
+++ b/src/mongo/util/concurrency/mutex.h
@@ -1,6 +1,3 @@
-// @file mutex.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/notification.h b/src/mongo/util/concurrency/notification.h
index 9ba79f15d37..44bc7efc9ac 100644
--- a/src/mongo/util/concurrency/notification.h
+++ b/src/mongo/util/concurrency/notification.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/spin_lock.cpp b/src/mongo/util/concurrency/spin_lock.cpp
index 97fc8313205..d797d3cb762 100644
--- a/src/mongo/util/concurrency/spin_lock.cpp
+++ b/src/mongo/util/concurrency/spin_lock.cpp
@@ -1,6 +1,3 @@
-// spin_lock.cpp
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/spin_lock.h b/src/mongo/util/concurrency/spin_lock.h
index 7c520f4313f..38854fef457 100644
--- a/src/mongo/util/concurrency/spin_lock.h
+++ b/src/mongo/util/concurrency/spin_lock.h
@@ -1,6 +1,3 @@
-// spin_lock.h
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/spin_lock_test.cpp b/src/mongo/util/concurrency/spin_lock_test.cpp
index 92aa34d080f..70c5288f86e 100644
--- a/src/mongo/util/concurrency/spin_lock_test.cpp
+++ b/src/mongo/util/concurrency/spin_lock_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_name.cpp b/src/mongo/util/concurrency/thread_name.cpp
index c6d6f68617d..26cfdc04076 100644
--- a/src/mongo/util/concurrency/thread_name.cpp
+++ b/src/mongo/util/concurrency/thread_name.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_name.h b/src/mongo/util/concurrency/thread_name.h
index 4e7e0f35aa9..f608cfa624c 100644
--- a/src/mongo/util/concurrency/thread_name.h
+++ b/src/mongo/util/concurrency/thread_name.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_pool.cpp b/src/mongo/util/concurrency/thread_pool.cpp
index 158396e6a93..755ad56bffd 100644
--- a/src/mongo/util/concurrency/thread_pool.cpp
+++ b/src/mongo/util/concurrency/thread_pool.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_pool.h b/src/mongo/util/concurrency/thread_pool.h
index 1d7e35fbf7e..16e9ada80bd 100644
--- a/src/mongo/util/concurrency/thread_pool.h
+++ b/src/mongo/util/concurrency/thread_pool.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_pool_interface.h b/src/mongo/util/concurrency/thread_pool_interface.h
index e558a8cf701..dde15644cb2 100644
--- a/src/mongo/util/concurrency/thread_pool_interface.h
+++ b/src/mongo/util/concurrency/thread_pool_interface.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_pool_test.cpp b/src/mongo/util/concurrency/thread_pool_test.cpp
index 3897a63ca08..012b5ca3ca7 100644
--- a/src/mongo/util/concurrency/thread_pool_test.cpp
+++ b/src/mongo/util/concurrency/thread_pool_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_pool_test_common.cpp b/src/mongo/util/concurrency/thread_pool_test_common.cpp
index 02a19f69c4d..70a0c41ef19 100644
--- a/src/mongo/util/concurrency/thread_pool_test_common.cpp
+++ b/src/mongo/util/concurrency/thread_pool_test_common.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_pool_test_common.h b/src/mongo/util/concurrency/thread_pool_test_common.h
index d4ab6490673..f70ffc40a20 100644
--- a/src/mongo/util/concurrency/thread_pool_test_common.h
+++ b/src/mongo/util/concurrency/thread_pool_test_common.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_pool_test_fixture.cpp b/src/mongo/util/concurrency/thread_pool_test_fixture.cpp
index 384ff1100bc..65378e0ee41 100644
--- a/src/mongo/util/concurrency/thread_pool_test_fixture.cpp
+++ b/src/mongo/util/concurrency/thread_pool_test_fixture.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/thread_pool_test_fixture.h b/src/mongo/util/concurrency/thread_pool_test_fixture.h
index e2e75bd8464..6e07226b8f1 100644
--- a/src/mongo/util/concurrency/thread_pool_test_fixture.h
+++ b/src/mongo/util/concurrency/thread_pool_test_fixture.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/ticketholder.cpp b/src/mongo/util/concurrency/ticketholder.cpp
index 571d9478f21..4b61cf96e37 100644
--- a/src/mongo/util/concurrency/ticketholder.cpp
+++ b/src/mongo/util/concurrency/ticketholder.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/ticketholder.h b/src/mongo/util/concurrency/ticketholder.h
index 4b1ffcb5ce0..53a70e8f914 100644
--- a/src/mongo/util/concurrency/ticketholder.h
+++ b/src/mongo/util/concurrency/ticketholder.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/ticketholder_test.cpp b/src/mongo/util/concurrency/ticketholder_test.cpp
index 357639ceb6e..f9f4c93236e 100644
--- a/src/mongo/util/concurrency/ticketholder_test.cpp
+++ b/src/mongo/util/concurrency/ticketholder_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/value.h b/src/mongo/util/concurrency/value.h
index f8f97e84459..b2759be742a 100644
--- a/src/mongo/util/concurrency/value.h
+++ b/src/mongo/util/concurrency/value.h
@@ -1,8 +1,3 @@
-/* @file value.h
- concurrency helpers DiagStr
-*/
-
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
@@ -34,6 +29,10 @@
#pragma once
+/**
+ * DiagStr concurrency helper
+ */
+
#include "spin_lock.h"
namespace mongo {
diff --git a/src/mongo/util/concurrency/with_lock.h b/src/mongo/util/concurrency/with_lock.h
index 8f1b55f73c4..d5c55a16cb3 100644
--- a/src/mongo/util/concurrency/with_lock.h
+++ b/src/mongo/util/concurrency/with_lock.h
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
diff --git a/src/mongo/util/concurrency/with_lock_test.cpp b/src/mongo/util/concurrency/with_lock_test.cpp
index c6bc6c70c2d..0bfe2b3829e 100644
--- a/src/mongo/util/concurrency/with_lock_test.cpp
+++ b/src/mongo/util/concurrency/with_lock_test.cpp
@@ -1,4 +1,3 @@
-
/**
* Copyright (C) 2018-present MongoDB, Inc.
*