X7ROOT File Manager
Current Path:
/opt/alt/python34/include/python3.4m
opt
/
alt
/
python34
/
include
/
python3.4m
/
??
..
??
Python-ast.h
(19.03 KB)
??
Python.h
(2.79 KB)
??
abstract.h
(42.07 KB)
??
accu.h
(1016 B)
??
asdl.h
(1.16 KB)
??
ast.h
(477 B)
??
bitset.h
(792 B)
??
bltinmodule.h
(264 B)
??
boolobject.h
(886 B)
??
bytearrayobject.h
(2.06 KB)
??
bytes_methods.h
(1.98 KB)
??
bytesobject.h
(4.81 KB)
??
cellobject.h
(701 B)
??
ceval.h
(7.03 KB)
??
classobject.h
(1.63 KB)
??
code.h
(4.13 KB)
??
codecs.h
(6.4 KB)
??
compile.h
(2.07 KB)
??
complexobject.h
(1.91 KB)
??
datetime.h
(8.34 KB)
??
descrobject.h
(2.84 KB)
??
dictobject.h
(5.06 KB)
??
dtoa.h
(458 B)
??
dynamic_annotations.h
(21.94 KB)
??
enumobject.h
(253 B)
??
errcode.h
(1.46 KB)
??
eval.h
(597 B)
??
fileobject.h
(1.82 KB)
??
fileutils.h
(1.47 KB)
??
floatobject.h
(4.53 KB)
??
frameobject.h
(3.47 KB)
??
funcobject.h
(3.68 KB)
??
genobject.h
(1.1 KB)
??
graminit.h
(1.83 KB)
??
grammar.h
(2 KB)
??
import.h
(3.81 KB)
??
intrcheck.h
(460 B)
??
iterobject.h
(567 B)
??
listobject.h
(2.77 KB)
??
longintrepr.h
(3.9 KB)
??
longobject.h
(7.98 KB)
??
marshal.h
(803 B)
??
memoryobject.h
(2.79 KB)
??
metagrammar.h
(253 B)
??
methodobject.h
(3.23 KB)
??
modsupport.h
(4.78 KB)
??
moduleobject.h
(1.58 KB)
??
namespaceobject.h
(297 B)
??
node.h
(1008 B)
??
object.h
(37.62 KB)
??
objimpl.h
(13.52 KB)
??
opcode.h
(5.09 KB)
??
osdefs.h
(848 B)
??
parsetok.h
(2.82 KB)
??
patchlevel.h
(1.1 KB)
??
pgen.h
(253 B)
??
pgenheaders.h
(1.12 KB)
??
py_curses.h
(4.08 KB)
??
pyarena.h
(2.68 KB)
??
pyatomic.h
(5.8 KB)
??
pycapsule.h
(1.69 KB)
??
pyconfig-64.h
(42.32 KB)
??
pyconfig.h
(162 B)
??
pyctype.h
(1.29 KB)
??
pydebug.h
(1019 B)
??
pyerrors.h
(15.65 KB)
??
pyexpat.h
(2.39 KB)
??
pyfpe.h
(8.29 KB)
??
pygetopt.h
(388 B)
??
pyhash.h
(4.17 KB)
??
pymacconfig.h
(2.92 KB)
??
pymacro.h
(2.75 KB)
??
pymath.h
(7.05 KB)
??
pymem.h
(6.62 KB)
??
pyport.h
(30.15 KB)
??
pystate.h
(8.91 KB)
??
pystrcmp.h
(436 B)
??
pystrtod.h
(1.25 KB)
??
pythonrun.h
(9.95 KB)
??
pythread.h
(2.96 KB)
??
pytime.h
(2.85 KB)
??
rangeobject.h
(629 B)
??
setobject.h
(3.22 KB)
??
sliceobject.h
(1.55 KB)
??
structmember.h
(2.02 KB)
??
structseq.h
(1.32 KB)
??
symtable.h
(4.98 KB)
??
sysmodule.h
(1.32 KB)
??
token.h
(1.84 KB)
??
traceback.h
(2.16 KB)
??
tupleobject.h
(2.39 KB)
??
typeslots.h
(1.95 KB)
??
ucnhash.h
(1.03 KB)
??
unicodeobject.h
(76.3 KB)
??
warnings.h
(1.39 KB)
??
weakrefobject.h
(2.8 KB)
Editing: pythread.h
#ifndef Py_PYTHREAD_H #define Py_PYTHREAD_H typedef void *PyThread_type_lock; typedef void *PyThread_type_sema; #ifdef __cplusplus extern "C" { #endif /* Return status codes for Python lock acquisition. Chosen for maximum * backwards compatibility, ie failure -> 0, success -> 1. */ typedef enum PyLockStatus { PY_LOCK_FAILURE = 0, PY_LOCK_ACQUIRED = 1, PY_LOCK_INTR } PyLockStatus; 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(long) PyThread_get_thread_ident(void); PyAPI_FUNC(PyThread_type_lock) PyThread_allocate_lock(void); PyAPI_FUNC(void) PyThread_free_lock(PyThread_type_lock); PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int); #define WAIT_LOCK 1 #define NOWAIT_LOCK 0 /* PY_TIMEOUT_T is the integral type used to specify timeouts when waiting on a lock (see PyThread_acquire_lock_timed() below). PY_TIMEOUT_MAX is the highest usable value (in microseconds) of that type, and depends on the system threading API. NOTE: this isn't the same value as `_thread.TIMEOUT_MAX`. The _thread module exposes a higher-level API, with timeouts expressed in seconds and floating-point numbers allowed. */ #if defined(HAVE_LONG_LONG) #define PY_TIMEOUT_T PY_LONG_LONG #define PY_TIMEOUT_MAX PY_LLONG_MAX #else #define PY_TIMEOUT_T long #define PY_TIMEOUT_MAX LONG_MAX #endif /* In the NT API, the timeout is a DWORD and is expressed in milliseconds */ #if defined (NT_THREADS) #if (Py_LL(0xFFFFFFFF) * 1000 < PY_TIMEOUT_MAX) #undef PY_TIMEOUT_MAX #define PY_TIMEOUT_MAX (Py_LL(0xFFFFFFFF) * 1000) #endif #endif /* If microseconds == 0, the call is non-blocking: it returns immediately even when the lock can't be acquired. If microseconds > 0, the call waits up to the specified duration. If microseconds < 0, the call waits until success (or abnormal failure) microseconds must be less than PY_TIMEOUT_MAX. Behaviour otherwise is undefined. If intr_flag is true and the acquire is interrupted by a signal, then the call will return PY_LOCK_INTR. The caller may reattempt to acquire the lock. */ PyAPI_FUNC(PyLockStatus) PyThread_acquire_lock_timed(PyThread_type_lock, PY_TIMEOUT_T microseconds, int intr_flag); 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); PyAPI_FUNC(PyObject*) PyThread_GetInfo(void); /* Thread Local Storage (TLS) API */ PyAPI_FUNC(int) PyThread_create_key(void); PyAPI_FUNC(void) PyThread_delete_key(int); PyAPI_FUNC(int) PyThread_set_key_value(int, void *); PyAPI_FUNC(void *) PyThread_get_key_value(int); PyAPI_FUNC(void) PyThread_delete_key_value(int key); /* Cleanup after a fork */ PyAPI_FUNC(void) PyThread_ReInitTLS(void); #ifdef __cplusplus } #endif #endif /* !Py_PYTHREAD_H */
Upload File
Create Folder