Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for osSetupTLS (0.11 sec)

  1. src/runtime/tls_windows_amd64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    // osSetupTLS is called by needm to set up TLS for non-Go threads.
    //
    // Defined in assembly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 24 19:18:50 UTC 2021
    - 294 bytes
    - Viewed (0)
  2. src/runtime/tls_stub.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build (windows && !amd64) || !windows
    
    package runtime
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 260 bytes
    - Viewed (0)
  3. src/runtime/sys_windows_amd64.s

    	MOVQ	DI, 0(CX)(GS)
    	RET
    
    TEXT runtimeĀ·nanotime1(SB),NOSPLIT,$0-8
    	MOVQ	$_INTERRUPT_TIME, DI
    	MOVQ	time_lo(DI), AX
    	IMULQ	$100, AX
    	MOVQ	AX, ret+0(FP)
    	RET
    
    // func osSetupTLS(mp *m)
    // Setup TLS. for use by needm on Windows.
    TEXT runtimeĀ·osSetupTLS(SB),NOSPLIT,$0-8
    	MOVQ	mp+0(FP), AX
    	LEAQ	m_tls(AX), DI
    	CALL	runtimeĀ·settls(SB)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    	mp.needextram = last
    
    	// Store the original signal mask for use by minit.
    	mp.sigmask = sigmask
    
    	// Install TLS on some platforms (previously setg
    	// would do this if necessary).
    	osSetupTLS(mp)
    
    	// Install g (= m->g0) and set the stack bounds
    	// to match the current stack.
    	setg(mp.g0)
    	sp := getcallersp()
    	callbackUpdateSystemStack(mp, sp, signal)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top