mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Changes for BeOS, QNX and long long, by Chris Herborth.
This commit is contained in:
parent
1a8791e0b8
commit
bcc207484a
12 changed files with 132 additions and 14 deletions
|
@ -56,7 +56,7 @@ staticforward PyTypeObject Locktype;
|
|||
|
||||
#define is_lockobject(v) ((v)->ob_type == &Locktype)
|
||||
|
||||
type_lock
|
||||
static type_lock
|
||||
getlocklock(lock)
|
||||
PyObject *lock;
|
||||
{
|
||||
|
@ -252,7 +252,14 @@ t_bootstrap(boot_raw)
|
|||
PyThreadState_Clear(tstate);
|
||||
PyEval_ReleaseThread(tstate);
|
||||
PyThreadState_Delete(tstate);
|
||||
#ifdef __BEOS__
|
||||
/* Dunno if this will cause problems with other ports; the BeOS thread
|
||||
* support features only 100% renamed functions. [cjh]
|
||||
*/
|
||||
PyThread_exit_thread();
|
||||
#else
|
||||
exit_thread();
|
||||
#endif
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue