Commit 97d862c9 authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed the pthread wrappers to work with the new glibc/linuxthreads

interface in glibc 2.3.2.
parent cbefdefb
......@@ -73,6 +73,8 @@ struct thread_cleanup_info
static char temp_stacks[NB_TEMP_STACKS][TEMP_STACK_SIZE];
static LONG next_temp_stack; /* next temp stack to use */
extern void PTHREAD_init_thread(void);
/***********************************************************************
* SYSDEPS_SetCurThread
*
......@@ -102,6 +104,8 @@ void SYSDEPS_SetCurThread( TEB *teb )
#ifdef HAVE_NPTL
teb->pthread_data = (void *)pthread_self();
#else
PTHREAD_init_thread();
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment