mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 20:52:24 -05:00
[chore]: Bump modernc.org/sqlite from 1.28.0 to 1.29.2 (#2718)
This commit is contained in:
parent
ea0efb8094
commit
adb4cdcf6c
356 changed files with 2619858 additions and 1869411 deletions
6
vendor/modernc.org/libc/pthread_all.go
generated
vendored
6
vendor/modernc.org/libc/pthread_all.go
generated
vendored
|
|
@ -15,6 +15,9 @@ import (
|
|||
|
||||
// int pthread_attr_init(pthread_attr_t *attr);
|
||||
func Xpthread_attr_init(t *TLS, pAttr uintptr) int32 {
|
||||
if __ccgo_strace {
|
||||
trc("t=%v pAttr=%v, (%v:)", t, pAttr, origin(2))
|
||||
}
|
||||
*(*pthread.Pthread_attr_t)(unsafe.Pointer(pAttr)) = pthread.Pthread_attr_t{}
|
||||
return 0
|
||||
}
|
||||
|
|
@ -31,6 +34,9 @@ func Xpthread_attr_init(t *TLS, pAttr uintptr) int32 {
|
|||
//
|
||||
// int pthread_mutex_init(pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr);
|
||||
func Xpthread_mutex_init(t *TLS, pMutex, pAttr uintptr) int32 {
|
||||
if __ccgo_strace {
|
||||
trc("t=%v pAttr=%v, (%v:)", t, pAttr, origin(2))
|
||||
}
|
||||
typ := pthread.PTHREAD_MUTEX_DEFAULT
|
||||
if pAttr != 0 {
|
||||
typ = int(X__ccgo_pthreadMutexattrGettype(t, pAttr))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue