17INLINE ThreadDummyImpl::
24INLINE ThreadDummyImpl::
39INLINE
bool ThreadDummyImpl::
40start(ThreadPriority,
bool) {
47INLINE
void ThreadDummyImpl::
54INLINE
void ThreadDummyImpl::
61INLINE
void ThreadDummyImpl::
69INLINE
void ThreadDummyImpl::
70bind_thread(
Thread *thread) {
78INLINE
bool ThreadDummyImpl::
79is_threading_supported() {
86INLINE
bool ThreadDummyImpl::
94INLINE
bool ThreadDummyImpl::
102INLINE
void ThreadDummyImpl::
103sleep(
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);
117INLINE
void ThreadDummyImpl::
124INLINE
void ThreadDummyImpl::
A thread; that is, a lightweight process.