Apparently on AIX when using gcc you need to call pthread_init()

(which is not a POSIX threads call!).  Reported and confirmed by Brad
Howes.
This commit is contained in:
Guido van Rossum 1998-09-10 03:04:40 +00:00
parent f9acc59c55
commit d21744a1dd
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@ typedef struct {
*/
static void _init_thread _P0()
{
#if defined(_AIX) && defined(__GNUC__)
pthread_init();
#endif
}
/*