aboutsummaryrefslogtreecommitdiff
path: root/internal/libc2
diff options
context:
space:
mode:
authorJan Mercl <0xjnml@gmail.com>2020-09-08 13:28:55 +0200
committerJan Mercl <0xjnml@gmail.com>2020-09-08 13:28:55 +0200
commit0d7a76444703f3275f151543189c1ee16326e6c2 (patch)
treecae2e524724c6f029b768b579427d1807a80b310 /internal/libc2
parent3ff11fb2cf3597e31eb790772bc03fae46e6b029 (diff)
add linux/386 supportv1.6.0
Diffstat (limited to 'internal/libc2')
-rw-r--r--internal/libc2/capi_linux_386.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/internal/libc2/capi_linux_386.go b/internal/libc2/capi_linux_386.go
new file mode 100644
index 0000000..01064c4
--- /dev/null
+++ b/internal/libc2/capi_linux_386.go
@@ -0,0 +1,21 @@
+// Copyright 2020 The Sqlite Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package libc2 // import "modernc.org/sqlite/internal/libc2"
+
+var CAPI = map[string]struct{}{
+ "pthread_cond_broadcast": {},
+ "pthread_cond_destroy": {},
+ "pthread_cond_init": {},
+ "pthread_cond_signal": {},
+ "pthread_cond_wait": {},
+ "pthread_create": {},
+ "pthread_detach": {},
+ "pthread_mutex_destroy": {},
+ "pthread_mutex_init": {},
+ "pthread_mutex_lock": {},
+ "pthread_mutex_trylock": {},
+ "pthread_mutex_unlock": {},
+ "sched_yield": {},
+}