annotate Include/thread.h @ 12357:5b59ea41db4e legacy-trunk

Install the docs (with fewer rules). Add descriptions for the system variables.
author Guido van Rossum <guido@python.org>
date Mon, 10 Apr 2000 19:36:27 +0000
parents bf26b7c1e6de
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10446
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 #ifndef Py_THREAD_H
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 #define Py_THREAD_H
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
3
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 /***********************************************************
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
6 The Netherlands.
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
7
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
8 All Rights Reserved
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
9
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 Permission to use, copy, modify, and distribute this software and its
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 documentation for any purpose and without fee is hereby granted,
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 provided that the above copyright notice appear in all copies and that
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 both that copyright notice and this permission notice appear in
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 supporting documentation, and that the names of Stichting Mathematisch
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
15 Centrum or CWI or Corporation for National Research Initiatives or
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
16 CNRI not be used in advertising or publicity pertaining to
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
17 distribution of the software without specific, written prior
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
18 permission.
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
19
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
20 While CWI is the initial source for this software, a modified version
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 is made available by the Corporation for National Research Initiatives
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 (CNRI) at the Internet address ftp://ftp.python.org.
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
23
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
26 MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
27 CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
29 PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 PERFORMANCE OF THIS SOFTWARE.
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
32
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 ******************************************************************/
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
34
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 /* Header file for old code (such as ILU) that includes "thread.h"
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 instead of "pythread.h", and might use the old function names. */
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
37
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 #include "pythread.h"
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
39
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 #define init_thread PyThread_init_thread
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 #define start_new_thread PyThread_start_new_thread
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 #ifndef __BEOS__
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 #define exit_thread PyThread_exit_thread
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 #define _exit_thread PyThread__exit_thread
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
45 #endif
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 #define get_thread_ident PyThread_get_thread_ident
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
47 #define allocate_lock PyThread_allocate_lock
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
48 #define free_lock PyThread_free_lock
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 #define acquire_lock PyThread_acquire_lock
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 #define release_lock PyThread_release_lock
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 #define allocate_sema PyThread_allocate_sema
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 #define free_sema PyThread_free_sema
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 #define down_sema PyThread_down_sema
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
54 #define up_sema PyThread_up_sema
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
55 #define exit_prog PyThread_exit_prog
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
56 #define _exit_prog PyThread__exit_prog
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
57 #define create_key PyThread_create_key
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
58 #define delete_key PyThread_delete_key
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
59 #define get_key_value PyThread_get_key_value
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
60 #define set_key_value PyThread_set_key_value
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
61
bf26b7c1e6de Adding thread.h -- unused but for b/w compatibility.
Guido van Rossum <guido@python.org>
parents:
diff changeset
62 #endif /* !Py_THREAD_H */