Searched refs:LOGGER_ASSERT (Results 1 – 2 of 2) sorted by relevance
49 LOGGER_ASSERT(!thread_running_); in StartThread()51 LOGGER_ASSERT(0 == pthread_create(&thread_, NULL, &StartRoutine, this)); in StartThread()55 LOGGER_ASSERT(thread_running_); in StopThread()57 LOGGER_ASSERT(0 == pthread_mutex_lock(&queued_lines_mutex_)); in StopThread()60 LOGGER_ASSERT(0 == pthread_mutex_unlock(&queued_lines_mutex_)); in StopThread()62 LOGGER_ASSERT(0 == pthread_cond_signal(&queued_lines_cond_)); in StopThread()64 LOGGER_ASSERT(0 == pthread_join(thread_, NULL)); in StopThread()68 LOGGER_ASSERT(0 == pthread_mutex_init(&queued_lines_mutex_, NULL)); in Logger()69 LOGGER_ASSERT(0 == pthread_cond_init(&queued_lines_cond_, NULL)); in Logger()70 LOGGER_ASSERT(0 == pthread_cond_init(&full_queue_cond_, NULL)); in Logger()[all …]
43 #define LOGGER_ASSERT(x) \ macro76 LOGGER_ASSERT(log_fd >= 0); in SetLogFd()