mirror of
git://erdgeist.org/opentracker
synced 2025-02-23 01:21:29 +08:00
register both ends of self pipe to libowfat in order to use them
This commit is contained in:
parent
9c7be324f5
commit
48c9c6172b
@ -640,6 +640,8 @@ int main( int argc, char **argv ) {
|
||||
panic( "selfpipe failed: " );
|
||||
if( !io_fd( g_self_pipe[0] ) )
|
||||
panic( "selfpipe io_fd failed: " );
|
||||
if( !io_fd( g_self_pipe[1] ) )
|
||||
panic( "selfpipe io_fd failed: " );
|
||||
io_setcookie( g_self_pipe[0], (void*)FLAG_SELFPIPE );
|
||||
io_wantread( g_self_pipe[0] );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user