17 INLINE ThreadDummyImpl::
18 ThreadDummyImpl(
Thread *) {
24 INLINE ThreadDummyImpl::
32 void ThreadDummyImpl::
39 INLINE
bool ThreadDummyImpl::
40 start(ThreadPriority,
bool) {
47 INLINE
void ThreadDummyImpl::
54 INLINE
void ThreadDummyImpl::
61 INLINE
void ThreadDummyImpl::
69 INLINE
void ThreadDummyImpl::
70 bind_thread(
Thread *thread) {
78 INLINE
bool ThreadDummyImpl::
79 is_threading_supported() {
86 INLINE
bool ThreadDummyImpl::
94 INLINE
bool ThreadDummyImpl::
102 INLINE
void ThreadDummyImpl::
103 sleep(
double seconds) {
105 Sleep((
int)(seconds * 1000));
107 struct timespec rqtp;
108 rqtp.tv_sec = time_t(seconds);
109 rqtp.tv_nsec = long((seconds - (
double)rqtp.tv_sec) * 1000000000.0);
110 nanosleep(&rqtp,
nullptr);
117 INLINE
void ThreadDummyImpl::
124 INLINE
void ThreadDummyImpl::
A thread; that is, a lightweight process.