Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
TokenPipeEnd TokenPipe::TakeWriteEnd()
26
{
27
TokenPipeEnd res(m_fds[1]);
28
m_fds[1] = -1;
29
return res;
30
}
31
32
TokenPipeEnd::TokenPipeEnd(int fd) : m_fd(fd)
33
{
Callers
2
fork_daemon
Function · 0.80
SignalInterrupt
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected