Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
421
private:
422
friend class VersionedRefWithId<EventPipe>;
Callers
2
TEST
Function · 0.45
TEST_F
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected