mirror of
git://erdgeist.org/opentracker
synced 2025-08-03 14:25:31 +02:00
register both ends of self pipe to libowfat in order to use them
This commit is contained in:
parent
9c7be324f5
commit
48c9c6172b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue