github.com/jwijenbergh/purego@v0.0.0-20240126093400-70ff3a61df13/internal/fakecgo/libcgo_darwin.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
     3  
     4  package fakecgo
     5  
     6  type (
     7  	pthread_mutex_t struct {
     8  		sig    int64
     9  		opaque [56]byte
    10  	}
    11  	pthread_cond_t struct {
    12  		sig    int64
    13  		opaque [40]byte
    14  	}
    15  )
    16  
    17  var (
    18  	PTHREAD_COND_INITIALIZER  = pthread_cond_t{sig: 0x3CB0B1BB}
    19  	PTHREAD_MUTEX_INITIALIZER = pthread_mutex_t{sig: 0x32AAABA7}
    20  )