40 data->func(data->arg);
140#elif defined(FREECIV_HAVE_PTHREAD)
155 data->func(data->arg);
270#elif defined(FREECIV_HAVE_WINTHREADS)
285 data->func(data->arg);
305 if (*thread ==
NULL) {
367#error "No working thread implementation"
372#ifndef FREECIV_HAVE_THREAD_COND
407#ifdef FREECIV_HAVE_THREAD_COND
void fc_thread_cond_destroy(fc_thread_cond *cond)
void fc_thread_cond_signal(fc_thread_cond *cond)
void fc_thread_cond_wait(fc_thread_cond *cond, fc_mutex *mutex)
bool has_thread_cond_impl(void)
void fc_thread_cond_init(fc_thread_cond *cond)
void fc_mutex_allocate(fc_mutex *mutex)
int fc_thread_start(fc_thread *thread, void(*function)(void *arg), void *arg)
void fc_mutex_init(fc_mutex *mutex)
void fc_mutex_release(fc_mutex *mutex)
void fc_thread_wait(fc_thread *thread)
void fc_mutex_destroy(fc_mutex *mutex)
void fc_usleep(unsigned long usec)