diff options
Diffstat (limited to 'src/mongo/db/concurrency/locker.h')
-rw-r--r-- | src/mongo/db/concurrency/locker.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/concurrency/locker.h b/src/mongo/db/concurrency/locker.h index 37b6dbeedb8..bba99d01fdb 100644 --- a/src/mongo/db/concurrency/locker.h +++ b/src/mongo/db/concurrency/locker.h @@ -68,15 +68,6 @@ public: } /** - * Require global lock attempts to obtain tickets from 'reading' (for MODE_S and MODE_IS), - * and from 'writing' (for MODE_IX), which must have static lifetimes. There is no throttling - * for MODE_X, as there can only ever be a single locker using this mode. The throttling is - * intended to defend against large drops in throughput under high load due to too much - * concurrency. - */ - static void setGlobalThrottling(class TicketHolder* reading, class TicketHolder* writing); - - /** * State for reporting the number of active and queued reader and writer clients. */ enum ClientState { kInactive, kActiveReader, kActiveWriter, kQueuedReader, kQueuedWriter }; |