summaryrefslogtreecommitdiff
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorMasayuki Yamamoto <ma3yuki.8mamo10@gmail.com>2017-10-06 19:41:34 +0900
committerNick Coghlan <ncoghlan@gmail.com>2017-10-06 20:41:34 +1000
commit731e18901484c75b60167a06a0ba0719a6d4827d (patch)
treefc9b8afc6eb8453729c130a146b838228ab103c6 /pyconfig.h.in
parentb8ab9d3fc816f85f4d6dbef12b7414e6dc10e4dd (diff)
downloadcpython-git-731e18901484c75b60167a06a0ba0719a6d4827d.tar.gz
bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362)
See PEP 539 for details. Highlights of changes: - Add Thread Specific Storage (TSS) API - Document the Thread Local Storage (TLS) API as deprecated - Update code that used TLS API to use TSS API
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 637341afee..7f0c6b33a9 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -1241,6 +1241,9 @@
/* Define if POSIX semaphores aren't enabled on your system */
#undef POSIX_SEMAPHORES_NOT_ENABLED
+/* Define if pthread_key_t is compatible with int. */
+#undef PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT
+
/* Defined if PTHREAD_SCOPE_SYSTEM supported. */
#undef PTHREAD_SYSTEM_SCHED_SUPPORTED
@@ -1302,6 +1305,9 @@
/* The size of `pid_t', as computed by sizeof. */
#undef SIZEOF_PID_T
+/* The size of `pthread_key_t', as computed by sizeof. */
+#undef SIZEOF_PTHREAD_KEY_T
+
/* The size of `pthread_t', as computed by sizeof. */
#undef SIZEOF_PTHREAD_T