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

Method TSemaphorePipe

library/cpp/neh/pipequeue.h:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 class TSemaphorePipe {
49 public:
50 inline TSemaphorePipe() {
51 TPipeHandle::Pipe(S_[0], S_[1]);
52
53 SetNonBlock(S_[0]);
54 SetNonBlock(S_[1]);
55 }
56
57 inline size_t Acquire(TCont* c) {
58 char ch;

Callers

nothing calls this directly

Calls 1

SetNonBlockFunction · 0.85

Tested by

no test coverage detected