- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for asyncPreempt (0.37 sec)
-
src/runtime/testdata/testprog/preempt.go
// license that can be found in the LICENSE file. package main import ( "runtime" "runtime/debug" "sync/atomic" ) func init() { register("AsyncPreempt", AsyncPreempt) } func AsyncPreempt() { // Run with just 1 GOMAXPROCS so the runtime is required to // use scheduler preemption. runtime.GOMAXPROCS(1) // Disable GC so we have complete control of what we're testing.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 07 17:46:04 UTC 2021 - 1.6K bytes - Viewed (0) -
src/runtime/preempt.go
} //go:generate go run mkpreempt.go // asyncPreempt saves all user registers and calls asyncPreempt2. // // When stack scanning encounters an asyncPreempt frame, it scans that // frame and its parent frame conservatively. // // asyncPreempt is implemented in assembly. func asyncPreempt() //go:nosplit func asyncPreempt2() { gp := getg() gp.asyncSafePoint = true if gp.preemptStop {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0) -
src/runtime/preempt_wasm.s
// Code generated by mkpreempt.go; DO NOT EDIT. #include "go_asm.h" #include "textflag.h" TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0 // No async preemption on wasm
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 21 21:52:38 UTC 2021 - 176 bytes - Viewed (0) -
src/runtime/preempt_386.s
// Code generated by mkpreempt.go; DO NOT EDIT. #include "go_asm.h" #include "textflag.h" TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0 PUSHFL ADJSP $156 NOP SP MOVL AX, 0(SP) MOVL CX, 4(SP) MOVL DX, 8(SP) MOVL BX, 12(SP) MOVL BP, 16(SP) MOVL SI, 20(SP) MOVL DI, 24(SP) #ifndef GO386_softfloat MOVUPS X0, 28(SP) MOVUPS X1, 44(SP) MOVUPS X2, 60(SP) MOVUPS X3, 76(SP) MOVUPS X4, 92(SP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 23 21:22:58 UTC 2021 - 824 bytes - Viewed (0) -
src/runtime/preempt_s390x.s
// Code generated by mkpreempt.go; DO NOT EDIT. #include "go_asm.h" #include "textflag.h" TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0 IPM R10 MOVD R14, -248(R15) ADD $-248, R15 MOVW R10, 8(R15) STMG R0, R12, 16(R15) FMOVD F0, 120(R15) FMOVD F1, 128(R15) FMOVD F2, 136(R15) FMOVD F3, 144(R15) FMOVD F4, 152(R15) FMOVD F5, 160(R15) FMOVD F6, 168(R15) FMOVD F7, 176(R15) FMOVD F8, 184(R15) FMOVD F9, 192(R15)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 21 21:52:38 UTC 2021 - 1K bytes - Viewed (0) -
src/runtime/preempt_amd64.s
// Code generated by mkpreempt.go; DO NOT EDIT. #include "go_asm.h" #include "asm_amd64.h" #include "textflag.h" TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0 PUSHQ BP MOVQ SP, BP // Save flags before clobbering them PUSHFQ // obj doesn't understand ADD/SUB on SP, but does understand ADJSP ADJSP $368 // But vet doesn't know ADJSP, so suppress vet stack checking NOP SP MOVQ AX, 0(SP) MOVQ CX, 8(SP) MOVQ DX, 16(SP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:17:01 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/internal/objabi/funcid.go
package objabi import ( "internal/abi" "strings" ) var funcIDs = map[string]abi.FuncID{ "abort": abi.FuncID_abort, "asmcgocall": abi.FuncID_asmcgocall, "asyncPreempt": abi.FuncID_asyncPreempt, "cgocallback": abi.FuncID_cgocallback, "corostart": abi.FuncID_corostart, "debugCallV2": abi.FuncID_debugCallV2, "gcBgMarkWorker": abi.FuncID_gcBgMarkWorker,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 21:33:59 UTC 2023 - 1.6K bytes - Viewed (0) -
src/runtime/preempt_arm.s
// Code generated by mkpreempt.go; DO NOT EDIT. #include "go_asm.h" #include "textflag.h" TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0 MOVW.W R14, -188(R13) MOVW R0, 4(R13) MOVW R1, 8(R13) MOVW R2, 12(R13) MOVW R3, 16(R13) MOVW R4, 20(R13) MOVW R5, 24(R13) MOVW R6, 28(R13) MOVW R7, 32(R13) MOVW R8, 36(R13) MOVW R9, 40(R13) MOVW R11, 44(R13) MOVW R12, 48(R13) MOVW CPSR, R0 MOVW R0, 52(R13)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/preempt_arm64.s
// Code generated by mkpreempt.go; DO NOT EDIT. #include "go_asm.h" #include "textflag.h" TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0 MOVD R30, -496(RSP) SUB $496, RSP MOVD R29, -8(RSP) SUB $8, RSP, R29 #ifdef GOOS_ios MOVD R30, (RSP) #endif STP (R0, R1), 8(RSP) STP (R2, R3), 24(RSP) STP (R4, R5), 40(RSP) STP (R6, R7), 56(RSP) STP (R8, R9), 72(RSP) STP (R10, R11), 88(RSP) STP (R12, R13), 104(RSP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 03 01:58:56 UTC 2022 - 2K bytes - Viewed (0) -
src/runtime/preempt_loong64.s
// Code generated by mkpreempt.go; DO NOT EDIT. #include "go_asm.h" #include "textflag.h" TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0 MOVV R1, -480(R3) SUBV $480, R3 MOVV R4, 8(R3) MOVV R5, 16(R3) MOVV R6, 24(R3) MOVV R7, 32(R3) MOVV R8, 40(R3) MOVV R9, 48(R3) MOVV R10, 56(R3) MOVV R11, 64(R3) MOVV R12, 72(R3) MOVV R13, 80(R3) MOVV R14, 88(R3) MOVV R15, 96(R3) MOVV R16, 104(R3) MOVV R17, 112(R3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 22 19:29:43 UTC 2023 - 2.4K bytes - Viewed (0)