qthread_shep(3)
π qthread_shep(3) π
okay bestie, so this one lives in the libqthread manual, and it's genuinely one of the cutest little calls you'll ever meet π«Ά
β¨ NAME β¨
qthread_shep β returns the qthread's shepherd ID π
πΈ SYNOPSIS πΈ
#include <qthread.h>
qthread_shepherd_id_t
qthread_shep (void);
π¦ DESCRIPTION π¦
So like, this function returns the shepherd identifier of the current thread. that's it. that's the whole vibe. you call it, it tells you which shepherd your thread is chilling with π
β RETURN VALUE β
This function either returns the ID number of the shepherd of the calling function, or it returns NO_SHEPHERD.
lowkey if you get NO_SHEPHERD back, your thread is not shepherded, bestie. no shepherd, no flock, no cap π
π SEE ALSO π
and that's the whole page, fr fr β¨ this one shipped with libqthread, dated APRIL 2011, and it's filed under qthread_shep(3) π go find your shepherd, main character π§ββοΈπ
π¦ where this page comes from
- fedora 43: qthreads-devel 1.22^20251007gitcedb1fc-1.fc43 Β· BSD-3-Clause AND MIT AND dtoa
- fedora 44: qthreads-devel 1.22^20251007gitcedb1fc-2.fc44 Β· BSD-3-Clause AND MIT AND dtoa
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms