github.com/jwijenbergh/purego@v0.0.0-20240126093400-70ff3a61df13/internal/fakecgo/libcgo_linux.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_cond_t  [48]byte
     8  	pthread_mutex_t [48]byte
     9  )
    10  
    11  var (
    12  	PTHREAD_COND_INITIALIZER  = pthread_cond_t{}
    13  	PTHREAD_MUTEX_INITIALIZER = pthread_mutex_t{}
    14  )