runtime.mOS.mutex (field)
10 uses
runtime (current package)
os_darwin.go#L11: mutex pthreadmutex
os_darwin.go#L27: if err := pthread_mutex_init(&mp.mutex, nil); err != 0 {
os_darwin.go#L42: pthread_mutex_lock(&mp.mutex)
os_darwin.go#L46: pthread_mutex_unlock(&mp.mutex)
os_darwin.go#L52: pthread_mutex_unlock(&mp.mutex)
os_darwin.go#L57: err := pthread_cond_timedwait_relative_np(&mp.cond, &mp.mutex, &t)
os_darwin.go#L59: pthread_mutex_unlock(&mp.mutex)
os_darwin.go#L63: pthread_cond_wait(&mp.cond, &mp.mutex)
os_darwin.go#L70: pthread_mutex_lock(&mp.mutex)
os_darwin.go#L75: pthread_mutex_unlock(&mp.mutex)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |