Home
last modified time | relevance | path

Searched refs:notify_common_port (Results 1 – 2 of 2) sorted by relevance

/trueos/lib/libnotify/
HDnotify_client.c347 if ((globals->client_opts & NOTIFY_OPT_DEMUX) && (globals->notify_common_port == MACH_PORT_NULL)) in _notify_lib_init()
352 kr = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &globals->notify_common_port); in _notify_lib_init()
355 … = dispatch_source_create(DISPATCH_SOURCE_TYPE_MACH_RECV, globals->notify_common_port, 0, dispatch… in _notify_lib_init()
358 _notify_dispatch_handle(_globals->notify_common_port); in _notify_lib_init()
363 mach_port_mod_refs(_task, _globals->notify_common_port, MACH_PORT_RIGHT_RECEIVE, -1); in _notify_lib_init()
371 if (globals->notify_common_port != MACH_PORT_NULL && (first || event == EVENT_REGEN)) in _notify_lib_init()
374 …status = notify_register_mach_port(COMMON_PORT_KEY, &globals->notify_common_port, NOTIFY_REUSE, &g… in _notify_lib_init()
604 port = globals->notify_common_port; in _notify_lib_regenerate_token()
1328 status = notify_register_mach_port(name, &globals->notify_common_port, NOTIFY_REUSE, out_token); in notify_register_dispatch()
1353 if (globals->notify_common_port == MACH_PORT_NULL) return NOTIFY_STATUS_FAILED; in notify_register_mux_fd()
[all …]
HDnotify_internal.h50 mach_port_t notify_common_port; member