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
commitb76a0eb8a173e99ebdb3d8b6765724e62197f3fe (patch)
treea942d7c98549127ea51ab6a92fefae3f677713c4 /Include/pythread.h
parentdbb34336d411b831e8960e85a416ce91c4fc0009 (diff)
downloadcpython-b76a0eb8a173e99ebdb3d8b6765724e62197f3fe.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
}