17INLINE ThreadWin32Impl::
18ThreadWin32Impl(
Thread *parent_obj) :
20 _parent_obj(parent_obj)
30INLINE
void ThreadWin32Impl::
37INLINE
void ThreadWin32Impl::
44INLINE
Thread *ThreadWin32Impl::
46 if (!_got_pt_ptr_index) {
49 return (
Thread *)TlsGetValue(_pt_ptr_index);
56INLINE
void ThreadWin32Impl::
57bind_thread(
Thread *thread) {
58 if (!_got_pt_ptr_index) {
61 BOOL result = TlsSetValue(_pt_ptr_index, thread);
68INLINE
bool ThreadWin32Impl::
69is_threading_supported() {
76INLINE
bool ThreadWin32Impl::
84INLINE
bool ThreadWin32Impl::
92INLINE
void ThreadWin32Impl::
93sleep(
double seconds) {
94 Sleep((
int)(seconds * 1000));
100INLINE
void ThreadWin32Impl::
108INLINE
void ThreadWin32Impl::
A thread; that is, a lightweight process.