diff options
| author | 2024-03-04 09:42:11 +0000 | |
|---|---|---|
| committer | 2024-03-04 09:42:11 +0000 | |
| commit | adb4cdcf6c9eacd369eaaf5b21774b198d57c040 (patch) | |
| tree | a4f9c8fe2ce147fa952bcb795690afb9bb2affcb /vendor/modernc.org/libc/pthread_all.go | |
| parent | [bugfix] update postgresqlstmt to correctly use postgres err hook (#2711) (diff) | |
| download | gotosocial-adb4cdcf6c9eacd369eaaf5b21774b198d57c040.tar.xz | |
[chore]: Bump modernc.org/sqlite from 1.28.0 to 1.29.2 (#2718)
Diffstat (limited to 'vendor/modernc.org/libc/pthread_all.go')
| -rw-r--r-- | vendor/modernc.org/libc/pthread_all.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/pthread_all.go b/vendor/modernc.org/libc/pthread_all.go index 4e2b7f105..2b23b585f 100644 --- a/vendor/modernc.org/libc/pthread_all.go +++ b/vendor/modernc.org/libc/pthread_all.go @@ -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)) |
