From: Duilio J. P. <dp...@fc...> - 2004-11-23 04:28:28
|
Maybe there is an error on visual_thread_join() function, on lines: if (pthread_join (&thread->thread, &result) < 0) { visual_log (VISUAL_LOG_CRITICAL, "Error while joining thread"); ... I think we must not take the address of thread->thread, because pthread_join()'s prototype is: int pthread_join (pthread_t __th, void **__thread_return); where we see that the first argument is not a pointer to a pthread_t. But maybe I'm wrong... Bye, Duilio. |