summaryrefslogtreecommitdiffstats
path: root/src/runtime/cgo/libcgo_windows.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/cgo/libcgo_windows.h')
-rw-r--r--src/runtime/cgo/libcgo_windows.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/cgo/libcgo_windows.h b/src/runtime/cgo/libcgo_windows.h
new file mode 100644
index 0000000..33d7637
--- /dev/null
+++ b/src/runtime/cgo/libcgo_windows.h
@@ -0,0 +1,6 @@
+// Copyright 2020 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// Call _beginthread, aborting on failure.
+void _cgo_beginthread(void (*func)(void*), void* arg);