register both ends of self pipe to libowfat in order to use them
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…
Reference in New Issue