Home
last modified time | relevance | path

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

/memcached-1.6.32/
Dthread.c400 static void setup_thread_notify(LIBEVENT_THREAD *me, struct thread_notify *tn, in setup_thread_notify() argument
403 event_set(&tn->notify_event, tn->notify_event_fd, in setup_thread_notify()
406 event_set(&tn->notify_event, tn->notify_receive_fd, in setup_thread_notify()
409 event_base_set(me->base, &tn->notify_event); in setup_thread_notify()
411 if (event_add(&tn->notify_event, 0) == -1) { in setup_thread_notify()
1058 static void memcached_thread_notify_init(struct thread_notify *tn) { in memcached_thread_notify_init() argument
1060 tn->notify_event_fd = eventfd(0, EFD_NONBLOCK); in memcached_thread_notify_init()
1061 if (tn->notify_event_fd == -1) { in memcached_thread_notify_init()
1072 tn->notify_receive_fd = fds[0]; in memcached_thread_notify_init()
1073 tn->notify_send_fd = fds[1]; in memcached_thread_notify_init()