summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-01-19 22:02:55 (GMT)
committerFred Drake <fdrake@acm.org>2002-01-19 22:02:55 (GMT)
commit7bb1c9a11db2ecdf58fed5a5e3a7cdea619d52db (patch)
treeedd4767d8b3b2126fcd0084d3ed1a321bdf9b3a9 /Include
parent72c3bf076f785aaf54d63a7e8cae29bc8282920e (diff)
downloadcpython-7bb1c9a11db2ecdf58fed5a5e3a7cdea619d52db.zip
cpython-7bb1c9a11db2ecdf58fed5a5e3a7cdea619d52db.tar.gz
cpython-7bb1c9a11db2ecdf58fed5a5e3a7cdea619d52db.tar.bz2
Remove the unused & broken PyThread_*_sema() functions and related constants.
This closes SF patch #504215.
Diffstat (limited to 'Include')
-rw-r--r--Include/pythread.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/Include/pythread.h b/Include/pythread.h
index 514cdea..b1504b6 100644
--- a/Include/pythread.h
+++ b/Include/pythread.h
@@ -25,13 +25,6 @@ DL_IMPORT(int) PyThread_acquire_lock(PyThread_type_lock, int);
#define NOWAIT_LOCK 0
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);
DL_IMPORT(void) PyThread__PyThread_exit_prog(int);