diff Python/thread_os2.h @ 21766:8b116a8449bd legacy-trunk

Remove the unused & broken PyThread_*_sema() functions and related constants. This closes SF patch #504215.
author Fred Drake <fdrake@acm.org>
date Sat, 19 Jan 2002 22:02:55 +0000
parents b1d9029e09d1
children 5cbcfde3ad55
line wrap: on
line diff
--- a/Python/thread_os2.h	Sat Jan 19 10:41:51 2002 +0000
+++ b/Python/thread_os2.h	Sat Jan 19 22:02:55 2002 +0000
@@ -209,30 +209,3 @@
   
   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));
-}