QB_THREAD_UNLOCK(3)
qb_thread_unlock π (libqb Programmer's Manual, section 3)
okay so bestie, welcome to the libqb corner of your terminal β¨ this one lives in the libqb programmer's manual, section 3, and its whole personality is: it unlocks your thread lock for you so you don't gotta pick a pthread function yourself π«Ά
β¨ NAME β¨
qb_thread_unlock β calls either pthread_mutex_unlock() or pthread_spin_unlock. that's it. that's the job. iconic honestly π
πΈ SYNOPSIS πΈ
#include <qb/qbutil.h>
int32_t qb_thread_unlock(
qb_thread_lock_t *tl
);
π DESCRIPTION π
so like. the DESCRIPTION section of this manpage is literally empty. not a typo, not me skipping it β there is nothing there. no cap. π
which lowkey means the NAME line is doing all the heavy lifting here: qb_thread_unlock calls either pthread_mutex_unlock() or pthread_spin_unlock β whichever one your lock actually is, bestie, it just knows π§π
you hand it a qb_thread_lock_t *tl and it gives you back an int32_t. that's the whole vibe.
no extra deets in the source page, so i'm not gonna invent any. fr fr. if you need the real tea, go read the headers π
π¦ SEE ALSO π¦
your little bestie squad of related pages, all of them:
qb_util_nano_current_get(3)qb_util_stopwatch_stop(3)qb_util_stopwatch_split(3)qb_util_stopwatch_split_ctl(3)qb_strerror_r(3)qb_util_stopwatch_time_split_get(3)qb_util_set_log_function(3)qb_util_timespec_from_epoch_get(3)qb_thread_lock_destroy(3)qb_thread_trylock(3)qb_util_nano_monotonic_hz(3)qb_util_nano_from_epoch_get(3)qb_util_stopwatch_create(3)qb_util_stopwatch_split_last(3)qb_thread_lock(3)qb_util_stopwatch_free(3)qb_thread_lock_create(3)qb_timespec_add_ms(3)qb_util_stopwatch_start(3)qb_util_stopwatch_us_elapsed_get(3)qb_util_stopwatch_sec_elapsed_get(3)
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
okay that's the whole page, bestie, go forth and unlock responsibly πβ¨
sign-off tea β: this came from the LIBQB source, dated 2025-09-16, and it's QB_THREAD_UNLOCK(3) β slay, bye π¦π
π
π¦ where this page comes from
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- ubuntu resolute: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms