MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / PyThread_tss_create

Function PyThread_tss_create

eval/CIPO_evaluation/pycocotools/_mask.c:384–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382#define Py_tss_NEEDS_INIT 0
383typedef int Py_tss_t;
384static CYTHON_INLINE int PyThread_tss_create(Py_tss_t *key) {
385 *key = PyThread_create_key();
386 return 0;
387}
388static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(void) {
389 Py_tss_t *key = (Py_tss_t *)PyObject_Malloc(sizeof(Py_tss_t));
390 *key = Py_tss_NEEDS_INIT;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected