Searched refs:my_port (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | kqueue_tests.c | 386 mach_port_t my_port = MACH_PORT_NULL; local 395 my_kr = mach_port_allocate( mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &my_port ); 401 /* try to register for events on my_port directly -- this should fail */ 402 EV_SET( &my_keventv[0], my_port, EVFILT_MACHPORT, (EV_ADD | EV_DISPATCH), 0, 0, 0 ); 405 printf( "kevent call to register my_port should have failed, but got %s \n", strerror(errno) ); 430 /* insert my_port into my_pset */ 431 my_kr = mach_port_insert_member( mach_task_self(), my_port, my_pset ); 437 my_kr = mach_port_insert_right( mach_task_self(), my_port, my_port, MACH_MSG_TYPE_MAKE_SEND ); 447 my_kr = kmsg_send( my_port, my_inde [all...] |
Completed in 19 milliseconds