Searched refs:current_base (Results 1 – 5 of 5) sorted by relevance
376 static struct evdns_base *current_base = NULL; variable381 return current_base; in evdns_get_global_base()2391 return evdns_base_count_nameservers(current_base); in evdns_count_nameservers()2463 return evdns_base_clear_nameservers_and_suspend(current_base); in evdns_clear_nameservers_and_suspend()2481 return evdns_base_resume(current_base); in evdns_resume()2584 if (!current_base) in evdns_nameserver_add()2585 current_base = evdns_base_new(NULL, 0); in evdns_nameserver_add()2586 return evdns_base_nameserver_add(current_base, address); in evdns_nameserver_add()2636 if (!current_base) in evdns_nameserver_ip_add()2637 current_base = evdns_base_new(NULL, 0); in evdns_nameserver_ip_add()[all …]
127 #define current_base event_global_current_base_ macro402 base = current_base; in event_base_gettimeofday_cached()403 if (!current_base) in event_base_gettimeofday_cached()439 base = current_base; in event_base_update_cache_time()440 if (!current_base) in event_base_update_cache_time()474 current_base = base; in event_init()805 if (base == NULL && current_base) in event_base_free_()806 base = current_base; in event_base_free_()900 if (base == current_base) in event_base_free_()901 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
821 #define current_base event_global_current_base_ macro822 extern struct event_base *current_base;878 tt_assert(current_base); in test_fork()879 evthread_make_base_notifiable(current_base); in test_fork()895 event_base_assert_ok_(current_base); in test_fork()900 event_base_assert_ok_(current_base); in test_fork()901 if (event_reinit(current_base) == -1) { in test_fork()906 event_base_assert_ok_(current_base); in test_fork()920 event_base_free(current_base); in test_fork()