- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for mReserveID (0.1 sec)
-
src/runtime/proc.go
print("runtime: program exceeds ", sched.maxmcount, "-thread limit\n") throw("thread exhaustion") } } // mReserveID returns the next ID to use for a new m. This new m is immediately // considered 'running' by checkdead. // // sched.lock must be held. func mReserveID() int64 { assertLockHeld(&sched.lock) if sched.mnext+1 < sched.mnext { throw("runtime: thread ID overflow") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)