MCPcopy Create free account
hub / github.com/apache/brpc / Notify

Method Notify

test/brpc_event_dispatcher_unittest.cpp:412–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410 {}
411
412 int Notify() {
413 char c = 0;
414 if (write(_pipe_fds[1], &c, 1) != 1) {
415 PLOG(ERROR) << "Fail to write to _pipe_fds[1]";
416 return -1;
417 }
418 return 0;
419 }
420
421private:
422friend class VersionedRefWithId<EventPipe>;

Callers 2

TESTFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected