MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / TakeWriteEnd

Method TakeWriteEnd

src/util/tokenpipe.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25TokenPipeEnd TokenPipe::TakeWriteEnd()
26{
27 TokenPipeEnd res(m_fds[1]);
28 m_fds[1] = -1;
29 return res;
30}
31
32TokenPipeEnd::TokenPipeEnd(int fd) : m_fd(fd)
33{

Callers 2

fork_daemonFunction · 0.80
SignalInterruptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected