1QB_THREAD_LOCK(3) libqb Programmer's Manual QB_THREAD_LOCK(3)
2
3
4
6 qb_thread_lock - Calls either pthread_mutex_lock() or
7 pthread_spin_lock().
8
10 #include <qb/qbutil.h>
11
12 int32_t qb_thread_lock(
13 qb_thread_lock_t *tl
14 );
15
17 qb_util_nano_current_get(3), qb_util_stopwatch_stop(3),
18 qb_util_stopwatch_split(3), qb_util_stopwatch_split_ctl(3),
19 qb_thread_unlock(3), qb_strerror_r(3),
20 qb_util_stopwatch_time_split_get(3), qb_util_set_log_function(3),
21 qb_util_timespec_from_epoch_get(3), qb_thread_lock_destroy(3),
22 qb_thread_trylock(3), qb_util_nano_monotonic_hz(3),
23 qb_util_nano_from_epoch_get(3), qb_util_stopwatch_create(3),
24 qb_util_stopwatch_split_last(3), qb_util_stopwatch_free(3),
25 qb_thread_lock_create(3), qb_timespec_add_ms(3),
26 qb_util_stopwatch_start(3), qb_util_stopwatch_us_elapsed_get(3),
27 qb_util_stopwatch_sec_elapsed_get(3)
28
30 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
31
32
33
34LIBQB 2020-07-30 QB_THREAD_LOCK(3)