[Python-checkins] CVS: python/dist/src/Python thread.c,2.34,2.35
Guido van Rossum
python-dev@python.org
Mon, 18 Sep 2000 17:46:48 -0700
- Previous message: [Python-checkins] CVS: python/dist/src acconfig.h,1.37,1.38 config.h.in,2.74,2.75 configure.in,1.158,1.159 configure,1.148,1.149
- Next message: [Python-checkins] CVS: python/dist/src/Modules signalmodule.c,2.56,2.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Python
In directory slayer.i.sourceforge.net:/tmp/cvs-serv9822/Python
Modified Files:
thread.c
Log Message:
Make better use of GNU Pth -- patch by Andy Dustman.
I can't test this, so I'm just checking it in with blind faith in Andy.
I've tested that it doesn't broeak a non-Pth build on Linux.
Changes include:
- There's a --with-pth configure option.
- Instead of _GNU_PTH, we test for HAVE_PTH.
- Better signal handling.
- (The config.h.in file is regenerated in a slightly different order.)
Index: thread.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread.c,v
retrieving revision 2.34
retrieving revision 2.35
diff -C2 -r2.34 -r2.35
*** thread.c 2000/09/01 23:29:28 2.34
--- thread.c 2000/09/19 00:46:46 2.35
***************
*** 110,119 ****
#endif
! #ifdef _GNU_PTH
#include "thread_pth.h"
! #else
#ifdef _POSIX_THREADS
#include "thread_pthread.h"
- #endif
#endif
--- 110,120 ----
#endif
! #ifdef HAVE_PTH
#include "thread_pth.h"
! #undef _POSIX_THREADS
! #endif
!
#ifdef _POSIX_THREADS
#include "thread_pthread.h"
#endif
- Previous message: [Python-checkins] CVS: python/dist/src acconfig.h,1.37,1.38 config.h.in,2.74,2.75 configure.in,1.158,1.159 configure,1.148,1.149
- Next message: [Python-checkins] CVS: python/dist/src/Modules signalmodule.c,2.56,2.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]