4 /***********************************************************
5 Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
10 Permission to use, copy, modify, and distribute this software and its
11 documentation for any purpose and without fee is hereby granted,
12 provided that the above copyright notice appear in all copies and that
13 both that copyright notice and this permission notice appear in
14 supporting documentation, and that the names of Stichting Mathematisch
15 Centrum or CWI or Corporation for National Research Initiatives or
16 CNRI not be used in advertising or publicity pertaining to
17 distribution of the software without specific, written prior
20 While CWI is the initial source for this software, a modified version
21 is made available by the Corporation for National Research Initiatives
22 (CNRI) at the Internet address ftp://ftp.python.org.
24 STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
25 REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
26 MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
27 CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
28 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
29 PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
30 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
31 PERFORMANCE OF THIS SOFTWARE.
33 ******************************************************************/
35 /* Header file for old code (such as ILU) that includes "thread.h"
36 instead of "pythread.h", and might use the old function names. */
40 #define init_thread PyThread_init_thread
41 #define start_new_thread PyThread_start_new_thread
43 #define exit_thread PyThread_exit_thread
44 #define _exit_thread PyThread__exit_thread
46 #define get_thread_ident PyThread_get_thread_ident
47 #define allocate_lock PyThread_allocate_lock
48 #define free_lock PyThread_free_lock
49 #define acquire_lock PyThread_acquire_lock
50 #define release_lock PyThread_release_lock
51 #define allocate_sema PyThread_allocate_sema
52 #define free_sema PyThread_free_sema
53 #define down_sema PyThread_down_sema
54 #define up_sema PyThread_up_sema
55 #define exit_prog PyThread_exit_prog
56 #define _exit_prog PyThread__exit_prog
57 #define create_key PyThread_create_key
58 #define delete_key PyThread_delete_key
59 #define get_key_value PyThread_get_key_value
60 #define set_key_value PyThread_set_key_value
62 #endif /* !Py_THREAD_H */