libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal::Thread Class Reference
Inheritance diagram for gimbal::Thread:
gimbal::PrimitiveCompatible< GblThread *, Thread >

Static Public Member Functions

static Thread current (void)
 
- Static Public Member Functions inherited from gimbal::PrimitiveCompatible< GblThread *, Thread >
static constexpr std::enable_if_t< std::same_as< T, GblThread * >, GblThread * * > primitive_cast (Thread *pDerived) noexcept
 

Additional Inherited Members

- Public Member Functions inherited from gimbal::PrimitiveCompatible< GblThread *, Thread >
constexpr const GblThread * * primitive_cast (void) const noexcept
 
constexpr operator GblThread * () const noexcept
 
constexpr GblThread * * operator& (void) noexcept
 
constexpr const GblThread * * operator& (void) const noexcept
 

Detailed Description

Definition at line 9 of file gimbal_thread.hpp.

Member Function Documentation

◆ current()

Thread gimbal::Thread::current ( void  )
inlinestatic

Definition at line 22 of file gimbal_thread.hpp.

22 {
23 Thread thd;
24 GblThread_current(&thd);
25 return thd;
26}

The documentation for this class was generated from the following file: