MCPcopy Create free account
hub / github.com/catboost/catboost / with_lock

Method with_lock

util/network/pollerimpl.h:436–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434
435 inline void SetImpl(void* data, SOCKET fd, int what) {
436 with_lock (CommandLock_) {
437 Commands_.push_back(TCommand(fd, what, data));
438 }
439
440 Signal();
441 }

Callers

nothing calls this directly

Calls 7

TCommandClass · 0.85
push_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
SetMethod · 0.45
RemoveMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected