[Python-checkins] CVS: python/dist/src configure.in,1.288.6.2,1.288.6.3
Michael Hudson
mwh@users.sourceforge.net
Fri, 08 Mar 2002 06:11:20 -0800
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv3255
Modified Files:
Tag: release22-maint
configure.in
Log Message:
backport jackjansen's checkin of
revision 1.294 of configure.in
revision 1.285 of configure
When testing for availability of pthreads without special compiler options
or libraries also look for thread_detach. SGI has thread_create in libc
but complete pthread support only in -lpthread. Fixes #522393.
2.2.1 candidate.Killed by signal 2.
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.288.6.2
retrieving revision 1.288.6.3
diff -C2 -d -r1.288.6.2 -r1.288.6.3
*** configure.in 7 Mar 2002 10:04:49 -0000 1.288.6.2
--- configure.in 8 Mar 2002 14:11:18 -0000 1.288.6.3
***************
*** 466,469 ****
--- 466,470 ----
if(pthread_create(&p,NULL,routine,NULL)!=0)
return 1;
+ (void)pthread_detach(p);
return 0;
}
***************
*** 498,501 ****
--- 499,503 ----
if(pthread_create(&p,NULL,routine,NULL)!=0)
return 1;
+ (void)pthread_detach(p);
return 0;
}