libGimbal
0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_thread.hpp
1
#
ifndef
GIMBAL_THREAD_HPP
2
#
define
GIMBAL_THREAD_HPP
3
4
#
include
"gimbal_thread.h"
5
#
include
"gimbal_api_generators.hpp"
6
7
namespace
gimbal {
8
9
class
Thread
:
10
public
PrimitiveCompatible
<
GblThread
*,
Thread
> {
11
public
:
12
13
14
15
static
Thread
current(
void
);
16
17
};
18
19
20
// ======= inlinez =======
21
22
inline
Thread
Thread
::current(
void
) {
23
Thread
thd;
24
GblThread_current(&thd);
25
return
thd;
26
}
27
28
29
30
}
31
32
#
endif
// GIMBAL_THREAD_HPP
gimbal::Thread
Definition
gimbal_thread.hpp:10
lib
api
gimbal
core
gimbal_thread.hpp
Generated by
1.9.7