diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2010-02-24 00:10:48 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2010-02-24 00:10:48 (GMT) |
commit | 72aee3dcabf98a0b8a7a60cccab4fbd1ef63fbd2 (patch) | |
tree | 4d0065384cc092413d520a5d0b6a7774be930a45 /Include | |
parent | 640cacbffe62ac3ee806e61fbd00ec242fdfa2a8 (diff) | |
download | cpython-72aee3dcabf98a0b8a7a60cccab4fbd1ef63fbd2.zip cpython-72aee3dcabf98a0b8a7a60cccab4fbd1ef63fbd2.tar.gz cpython-72aee3dcabf98a0b8a7a60cccab4fbd1ef63fbd2.tar.bz2 |
Merged revisions 78393 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78393 | amaury.forgeotdarc | 2010-02-24 00:19:39 +0100 (mer., 24 févr. 2010) | 2 lines
#4852: Remove dead code in every thread implementation, unused for many years.
........
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pythread.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Include/pythread.h b/Include/pythread.h index b5a6ec3..dfd6157 100644 --- a/Include/pythread.h +++ b/Include/pythread.h @@ -2,9 +2,6 @@ #ifndef Py_PYTHREAD_H #define Py_PYTHREAD_H -#define NO_EXIT_PROG /* don't define PyThread_exit_prog() */ - /* (the result is no use of signals on SGI) */ - typedef void *PyThread_type_lock; typedef void *PyThread_type_sema; @@ -15,7 +12,6 @@ extern "C" { PyAPI_FUNC(void) PyThread_init_thread(void); PyAPI_FUNC(long) PyThread_start_new_thread(void (*)(void *), void *); PyAPI_FUNC(void) PyThread_exit_thread(void); -PyAPI_FUNC(void) PyThread__PyThread_exit_thread(void); PyAPI_FUNC(long) PyThread_get_thread_ident(void); PyAPI_FUNC(PyThread_type_lock) PyThread_allocate_lock(void); @@ -28,11 +24,6 @@ PyAPI_FUNC(void) PyThread_release_lock(PyThread_type_lock); PyAPI_FUNC(size_t) PyThread_get_stacksize(void); PyAPI_FUNC(int) PyThread_set_stacksize(size_t); -#ifndef NO_EXIT_PROG -PyAPI_FUNC(void) PyThread_exit_prog(int); -PyAPI_FUNC(void) PyThread__PyThread_exit_prog(int); -#endif - /* Thread Local Storage (TLS) API */ PyAPI_FUNC(int) PyThread_create_key(void); PyAPI_FUNC(void) PyThread_delete_key(int); |