qthread_shep(3)

πŸ“¦ version 1.22^20251007gitcedb1fc, in fedora 43, fedora 44

πŸ’– 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