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

Function bthread_close

src/bthread/fd.cpp:548–550  ·  view source on GitHub ↗

This does not wake pthreads calling bthread_fd_*wait.

Source from the content-addressed store, hash-verified

546
547// This does not wake pthreads calling bthread_fd_*wait.
548int bthread_close(int fd) {
549 return bthread::get_epoll_thread(fd).fd_close(fd);
550}
551
552} // extern "C"

Callers 2

close_the_fdFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

close_the_fdFunction · 0.68
TESTFunction · 0.68