[Python-checkins] CVS: python/dist/src/Include pythread.h,2.18,2.19

Fred L. Drake fdrake@users.sourceforge.net
Sat, 19 Jan 2002 14:02:57 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv20723/Include

Modified Files:
	pythread.h 
Log Message:
Remove the unused & broken PyThread_*_sema() functions and related constants.
This closes SF patch #504215.


Index: pythread.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythread.h,v
retrieving revision 2.18
retrieving revision 2.19
diff -C2 -d -r2.18 -r2.19
*** pythread.h	2001/10/16 21:13:49	2.18
--- pythread.h	2002/01/19 22:02:54	2.19
***************
*** 26,36 ****
  DL_IMPORT(void) PyThread_release_lock(PyThread_type_lock);
  
- DL_IMPORT(PyThread_type_sema) PyThread_allocate_sema(int);
- DL_IMPORT(void) PyThread_free_sema(PyThread_type_sema);
- DL_IMPORT(int) PyThread_down_sema(PyThread_type_sema, int);
- #define WAIT_SEMA	1
- #define NOWAIT_SEMA	0
- DL_IMPORT(void) PyThread_up_sema(PyThread_type_sema);
- 
  #ifndef NO_EXIT_PROG
  DL_IMPORT(void) PyThread_exit_prog(int);
--- 26,29 ----