Lines Matching refs:th_base_lock
401 EVLOCK_ASSERT_LOCKED((base)->th_base_lock)
447 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_gettimeofday_cached()
454 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_gettimeofday_cached()
484 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_update_cache_time()
487 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_update_cache_time()
724 EVTHREAD_ALLOC_LOCK(base->th_base_lock, 0); in event_base_new_with_config()
788 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_cancel_single_callback_()
790 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_cancel_single_callback_()
939 EVTHREAD_FREE_LOCK(base->th_base_lock, 0); in event_base_free_()
988 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_reinit()
1084 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_reinit()
1095 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_gettime_monotonic()
1097 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_gettime_monotonic()
1245 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_priority_init()
1275 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_priority_init()
1287 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_get_npriorities()
1289 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_get_npriorities()
1298 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_get_num_events()
1309 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_get_num_events()
1319 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_get_max_events()
1339 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_get_max_events()
1363 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_signal_closure()
1371 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_signal_closure()
1373 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_signal_closure()
1468 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in common_timeout_callback()
1481 EVBASE_RELEASE_LOCK(base, th_base_lock); in common_timeout_callback()
1495 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_init_common_timeout()
1556 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_init_common_timeout()
1620 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_persist_closure()
1690 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_process_active_single_queue()
1696 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_process_active_single_queue()
1708 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_process_active_single_queue()
1719 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_process_active_single_queue()
1727 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_process_active_single_queue()
1863 EVBASE_ACQUIRE_LOCK(event_base, th_base_lock); in event_base_loopbreak()
1871 EVBASE_RELEASE_LOCK(event_base, th_base_lock); in event_base_loopbreak()
1882 EVBASE_ACQUIRE_LOCK(event_base, th_base_lock); in event_base_loopcontinue()
1890 EVBASE_RELEASE_LOCK(event_base, th_base_lock); in event_base_loopcontinue()
1898 EVBASE_ACQUIRE_LOCK(event_base, th_base_lock); in event_base_got_break()
1900 EVBASE_RELEASE_LOCK(event_base, th_base_lock); in event_base_got_break()
1908 EVBASE_ACQUIRE_LOCK(event_base, th_base_lock); in event_base_got_exit()
1910 EVBASE_RELEASE_LOCK(event_base, th_base_lock); in event_base_got_exit()
1932 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_loop()
1937 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_loop()
2020 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_loop()
2033 EVBASE_ACQUIRE_LOCK(eonce->ev.ev_base, th_base_lock); in event_once_cb()
2035 EVBASE_RELEASE_LOCK(eonce->ev.ev_base, th_base_lock); in event_once_cb()
2094 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_once()
2106 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_once()
2197 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_get_running_event()
2203 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_get_running_event()
2270 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_finalize_impl_()
2272 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_finalize_impl_()
2308 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_callback_finalize_()
2310 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_callback_finalize_()
2324 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_callback_finalize_many_()
2346 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_callback_finalize_many_()
2384 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_pending()
2404 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_pending()
2493 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_add()
2497 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_add()
2583 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_remove_timer()
2587 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_remove_timer()
2643 EVTHREAD_COND_WAIT(base->current_event_cond, base->th_base_lock); in event_add_nolock_()
2779 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_del_()
2781 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_del_()
2893 EVTHREAD_COND_WAIT(base->current_event_cond, base->th_base_lock); in event_del_nolock_()
2908 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_active()
2914 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_active()
2959 EVTHREAD_COND_WAIT(base->current_event_cond, base->th_base_lock); in event_active_nolock_()
2972 EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock); in event_active_later_()
2974 EVBASE_RELEASE_LOCK(ev->ev_base, th_base_lock); in event_active_later_()
2999 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_callback_activate_()
3001 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_callback_activate_()
3062 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_callback_cancel_()
3064 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_callback_cancel_()
3129 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_deferred_cb_schedule_()
3138 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_deferred_cb_schedule_()
3593 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in evthread_notify_drain_eventfd()
3595 EVBASE_RELEASE_LOCK(base, th_base_lock); in evthread_notify_drain_eventfd()
3612 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in evthread_notify_drain_default()
3614 EVBASE_RELEASE_LOCK(base, th_base_lock); in evthread_notify_drain_default()
3624 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in evthread_make_base_notifiable()
3626 EVBASE_RELEASE_LOCK(base, th_base_lock); in evthread_make_base_notifiable()
3806 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_foreach_event()
3808 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_foreach_event()
3816 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_dump_events()
3822 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_dump_events()
3828 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_active_by_fd()
3858 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_active_by_fd()
3864 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_active_by_signal()
3866 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_active_by_signal()
3873 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_add_virtual_()
3876 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_add_virtual_()
3882 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_del_virtual_()
3887 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_del_virtual_()
3958 EVBASE_ACQUIRE_LOCK(base, th_base_lock); in event_base_assert_ok_()
3960 EVBASE_RELEASE_LOCK(base, th_base_lock); in event_base_assert_ok_()