Searched refs:current_base (Results 1 – 5 of 5) sorted by relevance
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()