Searched refs:current_base (Results 1 – 9 of 9) sorted by relevance
108 struct event_base *current_base = NULL; variable153 current_base = base; in event_init()200 if (base == NULL && current_base) in event_base_free()201 base = current_base; in event_base_free()202 if (base == current_base) in event_base_free()203 current_base = NULL; in event_base_free()302 return event_base_priority_init(current_base, npriorities); in event_priority_init()423 current_base, tv)); in event_loopexit()437 return (event_base_loopbreak(current_base)); in event_loopbreak()457 return event_base_loop(current_base, flags); in event_loop()[all …]
55 struct event_base *current_base = NULL;
183 o provide event_base_new() that does not set the current_base global
380 static struct evdns_base *current_base = NULL; variable385 return current_base; in evdns_get_global_base()2408 return evdns_base_count_nameservers(current_base); in evdns_count_nameservers()2480 return evdns_base_clear_nameservers_and_suspend(current_base); in evdns_clear_nameservers_and_suspend()2498 return evdns_base_resume(current_base); in evdns_resume()2618 if (!current_base) in evdns_nameserver_add()2619 current_base = evdns_base_new(NULL, 0); in evdns_nameserver_add()2620 return evdns_base_nameserver_add(current_base, address); in evdns_nameserver_add()2670 if (!current_base) in evdns_nameserver_ip_add()2671 current_base = evdns_base_new(NULL, 0); in evdns_nameserver_ip_add()[all …]
131 #define current_base event_global_current_base_ macro442 base = current_base; in event_base_gettimeofday_cached()443 if (!current_base) in event_base_gettimeofday_cached()479 base = current_base; in event_base_update_cache_time()480 if (!current_base) in event_base_update_cache_time()514 current_base = base; in event_init()847 if (base == NULL && current_base) in event_base_free_()848 base = current_base; in event_base_free_()943 if (base == current_base) in event_base_free_()944 current_base = NULL; in event_base_free_()[all …]
161 o provide event_base_new() that does not set the current_base global
849 o Rename current_base symbol to event_global_current_base_ (c16e684)1134 o provide event_base_new() that does not set the current_base global
869 #define current_base event_global_current_base_ macro870 extern struct event_base *current_base;944 tt_assert(current_base); in test_fork()945 evthread_make_base_notifiable(current_base); in test_fork()961 event_base_assert_ok_(current_base); in test_fork()966 event_base_assert_ok_(current_base); in test_fork()967 if (event_reinit(current_base) == -1) { in test_fork()972 event_base_assert_ok_(current_base); in test_fork()986 event_base_free(current_base); in test_fork()
513 extern struct event_base *current_base;548 if (event_reinit(current_base) == -1) { in test_fork()