Searched refs:signal_event (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | hello-world.c | 43 struct event *signal_event; in main() local 70 signal_event = evsignal_new(base, SIGINT, signal_cb, (void *)base); in main() 72 if (!signal_event || event_add(signal_event, NULL)<0) { in main() 80 event_free(signal_event); in main()
|
/freebsd/contrib/libevent/sample/ |
H A D | hello-world.c | 43 struct event *signal_event; in main() local 70 signal_event = evsignal_new(base, SIGINT, signal_cb, (void *)base); in main() 72 if (!signal_event || event_add(signal_event, NULL)<0) { in main() 80 event_free(signal_event); in main()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_sm.c | 108 status = cl_event_wait_on(&p_sm->signal_event, in sm_sweeper() 164 cl_event_construct(&p_sm->signal_event); in osm_sm_construct() 175 boolean_t signal_event = FALSE; in osm_sm_shutdown() local 183 signal_event = TRUE; in osm_sm_shutdown() 191 if (signal_event) in osm_sm_shutdown() 192 cl_event_signal(&p_sm->signal_event); in osm_sm_shutdown() 230 cl_event_destroy(&p_sm->signal_event); in osm_sm_destroy() 268 status = cl_event_init(&p_sm->signal_event, FALSE); in osm_sm_init() 413 cl_event_signal(&p_sm->signal_event); in osm_sm_signal()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_sm.h | 110 cl_event_t signal_event; member
|