- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for mstart_stub (0.17 sec)
-
src/runtime/os_openbsd_libc.go
// license that can be found in the LICENSE file. //go:build openbsd && !mips64 package runtime import ( "internal/abi" "unsafe" ) // mstart_stub provides glue code to call mstart from pthread_create. func mstart_stub() // May run with m.p==nil, so write barriers are not allowed. // //go:nowritebarrierrec func newosproc(mp *m) { if false {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 20:44:45 UTC 2022 - 1.5K bytes - Viewed (0) -
src/runtime/os_darwin.go
writeErrStr(failthreadcreate) exit(1) } // Finally, create the thread. It starts at mstart_stub, which does some low-level // setup and then calls mstart. var oset sigset sigprocmask(_SIG_SETMASK, &sigset_all, &oset) err = retryOnEAGAIN(func() int32 { return pthread_create(&attr, abi.FuncPCABI0(mstart_stub), unsafe.Pointer(mp)) }) sigprocmask(_SIG_SETMASK, &oset, nil) if err != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.9K bytes - Viewed (0) -
src/runtime/sys_openbsd_ppc64.s
// Some direct system call implementations currently remain. // #include "go_asm.h" #include "go_tls.h" #include "textflag.h" #define CLOCK_REALTIME $0 #define CLOCK_MONOTONIC $3 // mstart_stub is the first function executed on a new thread started by pthread_create. // It just does some low-level setup and then calls mstart. // Note: called with the C calling convention. TEXT runtime·mstart_stub(SB),NOSPLIT,$32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:48:11 UTC 2023 - 15.3K bytes - Viewed (0) -
src/runtime/sys_openbsd_arm64.s
// #include "go_asm.h" #include "go_tls.h" #include "textflag.h" #include "cgo/abi_arm64.h" #define CLOCK_REALTIME $0 #define CLOCK_MONOTONIC $3 // mstart_stub is the first function executed on a new thread started by pthread_create. // It just does some low-level setup and then calls mstart. // Note: called with the C calling convention. TEXT runtime·mstart_stub(SB),NOSPLIT,$144
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 15.1K bytes - Viewed (0) -
src/runtime/sys_openbsd_amd64.s
#include "go_tls.h" #include "textflag.h" #include "cgo/abi_amd64.h" #define CLOCK_MONOTONIC $3 TEXT runtime·settls(SB),NOSPLIT,$0 // Nothing to do, pthread already set thread-local storage up. RET // mstart_stub is the first function executed on a new thread started by pthread_create. // It just does some low-level setup and then calls mstart. // Note: called with the C calling convention. TEXT runtime·mstart_stub(SB),NOSPLIT,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 15.5K bytes - Viewed (0) -
src/runtime/sys_openbsd_riscv64.s
// contains trampolines that convert from Go to C calling convention. // #include "go_asm.h" #include "go_tls.h" #include "textflag.h" #define CLOCK_REALTIME $0 #define CLOCK_MONOTONIC $3 // mstart_stub is the first function executed on a new thread started by pthread_create. // It just does some low-level setup and then calls mstart. // Note: called with the C calling convention. TEXT runtime·mstart_stub(SB),NOSPLIT,$200
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 16.8K bytes - Viewed (0) -
src/runtime/sys_darwin_arm64.s
#else MOVD 8(R0), R1 // arg 2 old MOVD 0(R0), R0 // arg 1 new CALL libc_sigaltstack(SB) CBZ R0, 2(PC) BL notok<>(SB) #endif RET // Thread related functions // mstart_stub is the first function executed on a new thread started by pthread_create. // It just does some low-level setup and then calls mstart. // Note: called with the C calling convention. TEXT runtime·mstart_stub(SB),NOSPLIT,$160
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 18.3K bytes - Viewed (0) -
src/runtime/sys_darwin_amd64.s
CALL libc_fcntl(SB) XORL DX, DX CMPQ AX, $-1 JNE noerr CALL libc_error(SB) MOVL (AX), DX MOVL $-1, AX noerr: MOVL AX, 12(BX) MOVL DX, 16(BX) RET // mstart_stub is the first function executed on a new thread started by pthread_create. // It just does some low-level setup and then calls mstart. // Note: called with the C calling convention. TEXT runtime·mstart_stub(SB),NOSPLIT|NOFRAME,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 19.7K bytes - Viewed (0) -
src/runtime/sys_openbsd_arm.s
// kernels. After OpenBSD 6.8 is released this should be changed to // speculation barriers. #define NOOP MOVW R0, R0 #define INVOKE_SYSCALL \ SWI $0; \ NOOP; \ NOOP // mstart_stub is the first function executed on a new thread started by pthread_create. // It just does some low-level setup and then calls mstart. // Note: called with the C calling convention. TEXT runtime·mstart_stub(SB),NOSPLIT,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 18.5K bytes - Viewed (0) -
src/runtime/sys_openbsd_386.s
#include "go_asm.h" #include "go_tls.h" #include "textflag.h" #define CLOCK_MONOTONIC $3 TEXT runtime·setldt(SB),NOSPLIT,$0 // Nothing to do, pthread already set thread-local storage up. RET // mstart_stub is the first function executed on a new thread started by pthread_create. // It just does some low-level setup and then calls mstart. // Note: called with the C calling convention. TEXT runtime·mstart_stub(SB),NOSPLIT,$28
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 20.4K bytes - Viewed (0)