File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 16
16
PyAPI_FUNC (unsigned long ) PyThread_start_joinable_thread (void (* func )(void * ),
17
17
void * arg ,
18
18
Py_uintptr_t * handle );
19
+ /*
20
+ * Join a thread started with `PyThread_start_joinable_thread`.
21
+ * This function cannot be interrupted. It returns 0 on success,
22
+ * a non-zero value on failure.
23
+ */
19
24
PyAPI_FUNC (int ) PyThread_join_thread (Py_uintptr_t );
25
+ /*
26
+ * Detach a thread started with `PyThread_start_joinable_thread`, such
27
+ * that its resources are relased as soon as it exits.
28
+ * This function cannot be interrupted. It returns 0 on success,
29
+ * a non-zero value on failure.
30
+ */
20
31
PyAPI_FUNC (int ) PyThread_detach_thread (Py_uintptr_t );
21
32
22
33
// PY_TIMEOUT_MAX is the highest usable value (in microseconds) of PY_TIMEOUT_T
You can’t perform that action at this time.
0 commit comments