- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setMaxThreads (0.11 sec)
-
src/runtime/debug/garbage.go
// or are locked to other goroutines due to use of runtime.LockOSThread. // // SetMaxThreads is useful mainly for limiting the damage done by // programs that create an unbounded number of threads. The idea is // to take down the program before it takes down the operating system. func SetMaxThreads(threads int) int { return setMaxThreads(threads) } // SetPanicOnFault controls the runtime's behavior when a program faults
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.9K bytes - Viewed (0)