MCPcopy Create free account
hub / github.com/apple/foundationdb / isBusy

Method isBusy

fdbserver/VersionedBTree.actor.cpp:692–692  ·  view source on GitHub ↗

Returns true if the mutex cannot be immediately taken.

Source from the content-addressed store, hash-verified

690
691 // Returns true if the mutex cannot be immediately taken.
692 bool isBusy() { return !mutex.available(); }
693
694 // Wait for all operations started before now to be ready, which is done by
695 // obtaining and releasing the mutex.

Callers 4

write_implMethod · 0.95
isBusyFunction · 0.80
finishFlushFunction · 0.80

Calls 1

availableMethod · 0.45

Tested by

no test coverage detected