# include static void * dummy_thread_func (void *arg) { return arg; } void glthread_in_use (void) { pthread_t thread; if (!pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0) { void *retval; if (pthread_join (thread, &retval) != 0) { abort (); } } } void main () { glthread_in_use(); }