summaryrefslogtreecommitdiff
path: root/src/runtime/cgo/libcgo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/cgo/libcgo.h')
-rw-r--r--src/runtime/cgo/libcgo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/cgo/libcgo.h b/src/runtime/cgo/libcgo.h
index af4960e7e9..04755f0f20 100644
--- a/src/runtime/cgo/libcgo.h
+++ b/src/runtime/cgo/libcgo.h
@@ -52,6 +52,11 @@ extern void (*_cgo_thread_start)(ThreadStart *ts);
extern void (*_cgo_sys_thread_create)(void* (*func)(void*), void* arg);
/*
+ * Indicates whether a dummy pthread per-thread variable is allocated.
+ */
+extern uintptr_t *_cgo_pthread_key_created;
+
+/*
* Creates the new operating system thread (OS, arch dependent).
*/
void _cgo_sys_thread_start(ThreadStart *ts);