QB_LOOP_T...E_TIME_GET(3)
π qb_loop_timer_expire_time_get β a libqb programmer's manual moment π
okay bestie, welcome to libqb Programmer's Manual, section 3, page qb_loop_timer_expire_time_get(3). yes that's a long name, we've been over this, it's giving β¨descriptiveβ¨ and we respect it.
πΈ NAME πΈ
qb_loop_timer_expire_time_get β get the expiration time of the timer, as set when the timer was created. that's it, that's the whole job, and she does it well π
π SYNOPSIS π
#include <qb/qbloop.h>
uint64_t qb_loop_timer_expire_time_get(
struct qb_loop *l, /* pointer to the loop instance */
qb_loop_timer_handle th /* timer handle. */
);
look at that signature. uint64_t return, two args, no drama. iconic behavior fr fr.
π¦ PARAMS π¦
lβ pointer to the loop instance π«Άthβ timer handle. (yes with the period, that's just how she is)
β¨ DESCRIPTION β¨
bestie. the DESCRIPTION section is literally empty in the original. the author said "the NAME section already ate, we're done here" and honestly? valid. no extra lore, no secret paragraphs. moving on π
π₯ RETURN VALUE π₯
nano seconds at which the timer will expire β°
like, the actual number. in nanoseconds. not seconds, not milliseconds, NANO. slay units, tiny units, very precise queen.
π NOTE π
if the timer has already expired it will return 0
that's the vibe check. expired timer = 0. don't come for me, that's just what she said πΈ
π SEE ALSO π
the whole friend group, in the exact order they were introduced:
qb_loop_job_del(3)qb_loop_run(3)qb_loop_create(3)qb_loop_stop(3)qb_loop_poll_low_fds_event_set(3)qb_loop_signal_del(3)qb_loop_signal_add(3)qb_loop_job_add(3)qb_loop_poll_del(3)qb_loop_destroy(3)qb_loop_timer_expire_time_remaining(3)qb_loop_poll_mod(3)qb_loop_signal_mod(3)qb_loop_timer_del(3)qb_loop_timer_add(3)qb_loop_timer_is_running(3)qb_loop_poll_add(3)
ngl that's a lot of besties but every single one of them matters π
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
periodt.
aaaand that's the page! mwah π this one came from LIBQB, dated 2025-09-16, and she's still out here answering the same question: when does my timer expire? π π¦β¨
π¦ 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