(root)/
gcc-13.2.0/
libgo/
misc/
cgo/
test/
testx.c
       1  // Copyright 2021 The Go Authors. All rights reserved.
       2  // Use of this source code is governed by a BSD-style
       3  // license that can be found in the LICENSE file.
       4  
       5  #include "_cgo_export.h"
       6  
       7  void lockOSThreadC(void) {
       8  	lockOSThreadCallback();
       9  }
      10  
      11  void issue7978c(uint32_t *sync) {
      12  	while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 0)
      13  		;
      14  	__atomic_add_fetch(sync, 1, __ATOMIC_SEQ_CST);
      15  	while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 2)
      16  		;
      17  	issue7978cb();
      18  	__atomic_add_fetch(sync, 1, __ATOMIC_SEQ_CST);
      19  	while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 6)
      20  		;
      21  }
      22  
      23  void f7665(void) {
      24  }