85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
OF_UNREACHABLE
}
void
of_thread_set_name(of_thread_t thread, const char *name)
{
}
bool
of_mutex_new(of_mutex_t *mutex)
{
InitializeCriticalSection(mutex);
return true;
|
>
>
>
>
>
>
>
>
>
>
>
>
|
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
OF_UNREACHABLE
}
void
of_thread_set_name(of_thread_t thread, const char *name)
{
}
bool
of_tlskey_new(of_tlskey_t *key)
{
return ((*key = TlsAlloc()) != TLS_OUT_OF_INDEXES);
}
bool
of_tlskey_free(of_tlskey_t key)
{
return TlsFree(key);
}
bool
of_mutex_new(of_mutex_t *mutex)
{
InitializeCriticalSection(mutex);
return true;
|