summaryrefslogtreecommitdiff
path: root/Include/pythread.h
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2003-04-19 15:41:53 +0000
committerMark Hammond <mhammond@skippinet.com.au>2003-04-19 15:41:53 +0000
commit8d98d2cb95ac37147a4de5a119869211e8351324 (patch)
tree8175d77139194bffa61b79d19544525927a13fc5 /Include/pythread.h
parente36b6900878b8715c37bfa241381dddb82cda386 (diff)
downloadcpython-git-8d98d2cb95ac37147a4de5a119869211e8351324.tar.gz
New PyGILState_ API - implements pep 311, from patch 684256.
Diffstat (limited to 'Include/pythread.h')
-rw-r--r--Include/pythread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pythread.h b/Include/pythread.h
index 8a3bf26afa..0fa8db04f0 100644
--- a/Include/pythread.h
+++ b/Include/pythread.h
@@ -30,10 +30,12 @@ PyAPI_FUNC(void) PyThread_exit_prog(int);
PyAPI_FUNC(void) PyThread__PyThread_exit_prog(int);
#endif
+/* 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);
#ifdef __cplusplus
}