summaryrefslogtreecommitdiffstats
path: root/Python/thread_os2.h
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 /Python/thread_os2.h
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 'Python/thread_os2.h')
-rw-r--r--Python/thread_os2.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/Python/thread_os2.h b/Python/thread_os2.h
index cfd0834..a35f3e9 100644
--- a/Python/thread_os2.h
+++ b/Python/thread_os2.h
@@ -209,30 +209,3 @@ void PyThread_release_lock(PyThread_type_lock aLock)
DosExitCritSec();
}
-
-/*
- * Semaphore support.
- */
-PyThread_type_sema
-PyThread_allocate_sema(int value)
-{
- return (PyThread_type_sema) 0;
-}
-
-void
-PyThread_free_sema(PyThread_type_sema aSemaphore)
-{
-
-}
-
-int
-PyThread_down_sema(PyThread_type_sema aSemaphore, int waitflag)
-{
- return -1;
-}
-
-void
-PyThread_up_sema(PyThread_type_sema aSemaphore)
-{
- dprintf(("%ld: PyThread_up_sema(%p)\n", PyThread_get_thread_ident(), aSemaphore));
-}