summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/tls_linux_amd64.go
diff options
context:
space:
mode:
authorLibravatar kim <grufwub@gmail.com>2025-06-10 13:19:18 +0200
committerLibravatar tobi <kipvandenbos@noreply.codeberg.org>2025-06-10 13:19:18 +0200
commit4ad17788cdaaee71f6ea41a43eaaa2af50853ac9 (patch)
treee74237fb986ef7426ceac631c6f4eea210b84028 /vendor/modernc.org/libc/tls_linux_amd64.go
parent[bugfix] fix existing statuses with invalid visibility (#4253) (diff)
downloadgotosocial-4ad17788cdaaee71f6ea41a43eaaa2af50853ac9.tar.xz
[chore] update to modernc.org/sqlite v1.38.0 with our concurrency workaround (#4256)
see: https://gitlab.com/cznic/sqlite/-/tags/v1.38.0 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4256 Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'vendor/modernc.org/libc/tls_linux_amd64.go')
-rw-r--r--vendor/modernc.org/libc/tls_linux_amd64.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/tls_linux_amd64.go b/vendor/modernc.org/libc/tls_linux_amd64.go
new file mode 100644
index 000000000..89ff4de25
--- /dev/null
+++ b/vendor/modernc.org/libc/tls_linux_amd64.go
@@ -0,0 +1,16 @@
+// Copyright 2025 The Libc 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 libc // import "modernc.org/libc"
+
+func TLSAlloc(p0 *TLS, p1 int) uintptr
+func TLSFree(p0 *TLS, p1 int)
+
+func tlsAlloc(tls *TLS, n int) uintptr {
+ return tls.Alloc(n)
+}
+
+func tlsFre(tls *TLS, n int) {
+ tls.Free(n)
+}