CnxJThread struct
#include <include/Cnx/Thread.h>
A CnxJThread
is the handle type for OS-level threads which are automatically joined when their handle goes out of scope and use a dedicated stop token to signal to the thread when its execution should end.
Public variables
- CnxThread handle
- The handle to the OS-level thread the
CnxJThread
manages. - CnxStopToken* stop_token
- The stop token used to signal to the thread to end execution.