- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for lock_held_ (0.09 sec)
-
src/runtime/proc.go
mp := acquirem() if !lockheld { lock(&sched.lock) } if pp == nil { if spinning { // TODO(prattmic): All remaining calls to this function // with _p_ == nil could be cleaned up to find a P // before calling startm. throw("startm: P required for spinning=true") } pp, _ = pidleget(0) if pp == nil { if !lockheld { unlock(&sched.lock) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)