Searched refs:server_proc_source (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/Libnotify-133.1.1/
H A Dnotify_internal.h53 dispatch_source_t server_proc_source; member in struct:notify_globals_s
H A Dnotify_client.c316 if (globals->server_proc_source != NULL)
318 dispatch_source_cancel(globals->server_proc_source);
319 dispatch_release(globals->server_proc_source);
320 globals->server_proc_source = NULL;
334 if ((globals->server_proc_source == NULL) && (globals->client_opts & NOTIFY_OPT_REGEN) && (globals->notify_server_pid != 0))
336 globals->server_proc_source = dispatch_source_create(DISPATCH_SOURCE_TYPE_PROC, (uintptr_t)globals->notify_server_pid, DISPATCH_PROC_EXIT, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0));
337 dispatch_source_set_event_handler(globals->server_proc_source, ^{ _notify_lib_regenerate(1); });
338 dispatch_resume(globals->server_proc_source);

Completed in 138 milliseconds