Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lockOSThreadC (0.12 sec)

  1. src/cmd/cgo/internal/test/testx.c

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "_cgo_export.h"
    
    void lockOSThreadC(void) {
    	lockOSThreadCallback();
    }
    
    void issue7978c(uint32_t *sync) {
    	while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 0)
    		;
    	__atomic_add_fetch(sync, 1, __ATOMIC_SEQ_CST);
    	while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 2)
    		;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 582 bytes
    - Viewed (0)
Back to top