Lines Matching refs:mutex
35 std::mutex* mutex; member
49 ret->mutex = new std::mutex; in fixed_queue_new()
81 delete queue->mutex; in fixed_queue_free()
99 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_is_empty()
106 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_length()
123 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_enqueue()
137 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_dequeue()
154 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_enqueue()
169 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_dequeue()
182 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_peek_first()
189 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_peek_last()
198 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_remove_from_queue()