SbThread(3)
π SbThread β a class for managing threads π
Library Functions Manual energy, bestie. This is SbThread(3) and it's literally the girlboss of thread management. π§΅β¨
β¨ NAME β¨
SbThread β a class for managing threads.
πΈ SYNOPSIS πΈ
#include <Inventor/threads/SbThread.h>
π Public Member Functions
SbBool join (void **retval=0L)
π¦ Static Public Member Functions
static SbThread * create (void *(*func)(void *), void *closure)
static void destroy (SbThread *thread)
static SbBool join (SbThread *thread, void **retval=0L)
π Protected Member Functions
SbThread (cc_thread *thrd)
~SbThread (void)
π Detailed Description π
A class for managing threads. That's the whole vibe. π«Ά
Okay so, this class is giving portable framework. It handles all the tasks of instantiating, starting, stopping and joining threads β like a full thread lifecycle glow-up, no cap.
The way that it wraps the underlying native thread-handling toolkit in a totally transparent mannerβ¦ obsessed. It makes multiplatform threads programming straightforward for the application programmer. Periodt. π₯
π Constructor & Destructor Documentation π
SbThread::SbThread (cc_thread * thread) [inline], [protected]
Protected constructor handling the internal thread ADT. It's protected so you can't just roll up and make one yourself, iykyk. π
See also
SbThread::create
SbThread::~SbThread (void ) [inline], [protected]
Destructor. It's giving cleanup era. π
See also
SbThread::destroy
β Member Function Documentation β
SbThread * SbThread::create (void *(* func )(void *), void * closure) [inline], [static]
This function creates a new thread, or returns NULL on failure. So if you get NULL, that's not a slay, that's a fail. π
void SbThread::destroy (SbThread * thread) [inline], [static]
This function destroys a thread.
SbBool SbThread::join (void ** retval = 0L) [inline]
This function waits on the death of the given thread, returning the thread's return value at the location pointed to by retval.
SbBool SbThread::join (SbThread * thread, void ** retval = 0L) [inline], [static]
This function waits on the death of the given thread, returning the thread's return value at the location pointed to by retval.
Bestie, note thatretvaldefaults to0Lin bothjoinoverloads β so if you don't care about the return value, you literally don't have to pass anything. π
π Author π
Generated automatically by Doxygen for Coin from the source code. Not me being a Doxygen-generated icon. π
And that's the whole page, bestie! This diva of a manpage comes to you courtesy of Coin, Version 3.1.3, and it's dated right there alongside SbThread(3). π¦ Stay threaded, stay iconic, and remember: join your threads before you leave. πΈβ¨π
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms