Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for _cgo_beginthread (0.23 sec)

  1. src/runtime/cgo/gcc_libinit_windows.c

    				 while(!InterlockedExchangeAdd(&runtime_init_once_done, 0)) {
    						Sleep(0);
    				 }
    			}
    	 }
    }
    
    void
    x_cgo_sys_thread_create(void (*func)(void*), void* arg) {
    	_cgo_beginthread(func, arg);
    }
    
    int
    _cgo_is_runtime_initialized() {
    	 EnterCriticalSection(&runtime_init_cs);
    	 int status = runtime_init_done;
    	 LeaveCriticalSection(&runtime_init_cs);
    	 return status;
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/runtime/cgo/libcgo_windows.h

    // Copyright 2020 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.
    
    // Call _beginthread, aborting on failure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 09 18:17:39 UTC 2022
    - 258 bytes
    - Viewed (0)
  3. src/runtime/cgo/gcc_windows_arm64.c

    static void threadentry(void*);
    static void (*setg_gcc)(void*);
    
    void
    x_cgo_init(G *g, void (*setg)(void*))
    {
    	setg_gcc = setg;
    }
    
    void
    _cgo_sys_thread_start(ThreadStart *ts)
    {
    	_cgo_beginthread(threadentry, ts);
    }
    
    extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g);
    
    static void
    threadentry(void *v)
    {
    	ThreadStart ts;
    
    	ts = *(ThreadStart*)v;
    	free(v);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 09 18:17:39 UTC 2022
    - 764 bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_windows_amd64.c

    static DWORD *tls_g;
    
    void
    x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase)
    {
    	setg_gcc = setg;
    	tls_g = (DWORD *)tlsg;
    }
    
    
    void
    _cgo_sys_thread_start(ThreadStart *ts)
    {
    	_cgo_beginthread(threadentry, ts);
    }
    
    extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g);
    static void
    threadentry(void *v)
    {
    	ThreadStart ts;
    
    	ts = *(ThreadStart*)v;
    	free(v);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:28 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_windows_386.c

    static DWORD *tls_g;
    
    void
    x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase)
    {
    	setg_gcc = setg;
    	tls_g = (DWORD *)tlsg;
    }
    
    void
    _cgo_sys_thread_start(ThreadStart *ts)
    {
    	_cgo_beginthread(threadentry, ts);
    }
    
    extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g);
    static void
    threadentry(void *v)
    {
    	ThreadStart ts;
    
    	ts = *(ThreadStart*)v;
    	free(v);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:58 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top