mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge alpha100 branch back to main trunk
This commit is contained in:
parent
2979b01ff8
commit
b6775db241
176 changed files with 5302 additions and 3668 deletions
|
@ -1,6 +1,9 @@
|
|||
#ifndef _THREAD_H_included
|
||||
#define _THREAD_H_included
|
||||
|
||||
#define NO_EXIT_PROG /* don't define exit_prog() */
|
||||
/* (the result is no use of signals on SGI) */
|
||||
|
||||
#ifndef PROTO
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
#define PROTO(args) args
|
||||
|
@ -20,6 +23,7 @@ void init_thread PROTO((void));
|
|||
int start_new_thread PROTO((void (*)(void *), void *));
|
||||
void exit_thread PROTO((void));
|
||||
void _exit_thread PROTO((void));
|
||||
long get_thread_ident PROTO((void));
|
||||
|
||||
type_lock allocate_lock PROTO((void));
|
||||
void free_lock PROTO((type_lock));
|
||||
|
@ -33,8 +37,10 @@ void free_sema PROTO((type_sema));
|
|||
void down_sema PROTO((type_sema));
|
||||
void up_sema PROTO((type_sema));
|
||||
|
||||
#ifndef NO_EXIT_PROG
|
||||
void exit_prog PROTO((int));
|
||||
void _exit_prog PROTO((int));
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue