139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
/* FIXME */
return true;
#else
# error of_thread_detach not implemented!
#endif
}
static OF_INLINE void
of_thread_exit(void)
{
#if defined(OF_HAVE_PTHREADS)
pthread_exit(NULL);
#elif defined(_WIN32)
ExitThread(0);
#else
|
|
|
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
/* FIXME */
return true;
#else
# error of_thread_detach not implemented!
#endif
}
static OF_INLINE void OF_NO_RETURN
of_thread_exit(void)
{
#if defined(OF_HAVE_PTHREADS)
pthread_exit(NULL);
#elif defined(_WIN32)
ExitThread(0);
#else
|