21 INLINE ThreadDummyImpl::
22 ThreadDummyImpl(
Thread *) {
30 INLINE ThreadDummyImpl::
41 void ThreadDummyImpl::
50 INLINE
bool ThreadDummyImpl::
51 start(ThreadPriority,
bool) {
60 INLINE
void ThreadDummyImpl::
69 INLINE
void ThreadDummyImpl::
78 INLINE
void ThreadDummyImpl::
89 INLINE
void ThreadDummyImpl::
90 bind_thread(
Thread *thread) {
100 INLINE
bool ThreadDummyImpl::
101 is_threading_supported() {
110 INLINE
bool ThreadDummyImpl::
120 INLINE
bool ThreadDummyImpl::
121 is_simple_threads() {
130 INLINE
void ThreadDummyImpl::
131 sleep(
double seconds) {
133 Sleep((
int)(seconds * 1000));
135 struct timespec rqtp;
136 rqtp.tv_sec = time_t(seconds);
137 rqtp.tv_nsec = long((seconds - (
double)rqtp.tv_sec) * 1000000000.0);
138 nanosleep(&rqtp, NULL);
147 INLINE
void ThreadDummyImpl::
156 INLINE
void ThreadDummyImpl::
A thread; that is, a lightweight process.