- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UnlockOSThread (0.21 sec)
-
cni/pkg/nodeagent/netns_linux.go
// to the original namespace; otherwise leave the thread locked which // will force the runtime to scrap the current thread, that is maybe // not as optimal but at least always safe to do. runtime.UnlockOSThread() } }() return toRun() } var wg sync.WaitGroup wg.Add(1) // Start the callback in a new green thread so that if we later fail
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 31 10:05:36 GMT 2024 - 2.7K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
// Make sure we don't blow out m->g0 stack. for i := 0; i < 100000; i++ { testCallbackPanic(t) } } func testCallbackPanicLocked(t *testing.T) { runtime.LockOSThread() defer runtime.UnlockOSThread() if !lockedOSThread() { t.Fatal("runtime.LockOSThread didn't") } defer func() { s := recover() if s == nil { t.Fatal("did not panic") } if s.(string) != "callback panic" {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0) -
api/go1.txt
pkg runtime, func SetFinalizer(interface{}, interface{}) pkg runtime, func Stack([]uint8, bool) int pkg runtime, func ThreadCreateProfile([]StackRecord) (int, bool) pkg runtime, func UnlockOSThread() pkg runtime, func Version() string pkg runtime, method (*Func) Entry() uintptr pkg runtime, method (*Func) FileLine(uintptr) (string, int) pkg runtime, method (*Func) Name() string
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)