Searched refs:my_pset (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | kqueue_tests.c | 385 mach_port_t my_pset = MACH_PORT_NULL; local 389 my_kr = mach_port_allocate( mach_task_self(), MACH_PORT_RIGHT_PORT_SET, &my_pset ); 409 /* now register for events on my_pset and user 0 */ 410 EV_SET( &my_keventv[0], my_pset, EVFILT_MACHPORT, (EV_ADD | EV_CLEAR | EV_DISPATCH), 0, 0, 0 ); 414 printf( "kevent call to register my_pset and user 0 failed with error %d - %s \n", errno, strerror( errno) ); 430 /* insert my_port into my_pset */ 431 my_kr = mach_port_insert_member( mach_task_self(), my_port, my_pset ); 489 /* delibrately destroy my_pset while it's still registered for events */ 490 my_kr = mach_port_mod_refs( mach_task_self(), my_pset, MACH_PORT_RIGHT_PORT_SET, -1 );
|
Completed in 20 milliseconds