summaryrefslogtreecommitdiff
path: root/db/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/client.h')
-rw-r--r--db/client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/client.h b/db/client.h
index ab43509..c484198 100644
--- a/db/client.h
+++ b/db/client.h
@@ -45,6 +45,8 @@ namespace mongo {
static mongo::mutex clientsMutex;
static set<Client*> clients; // always be in clientsMutex when manipulating this
+ static int recommendedYieldMicros();
+
class GodScope {
bool _prev;
public: