Home | History | Annotate | Download | only in runtime

Lines Matching refs:Worker

16 // The scheduler's job is to distribute ready-to-run goroutines over worker threads.
20 // M - worker thread, or machine.
27 // Worker thread parking/unparking.
28 // We need to balance between keeping enough running worker threads to utilize
29 // available hardware parallelism and parking excessive running worker threads
34 // a worker thread when a new goroutine will be readied in near future).
51 // idle P and there are no "spinning" worker threads. A worker thread is considered
68 // of a new goroutine, and either one part or another needs to unpark another worker
2024 // for resetspinning to unpark a new worker thread (because there can be more
2028 // Also see "Worker thread parking/unparking" comment at the top of the file.
2138 // need to wakeup another P here. See "Worker thread parking/unparking"
3533 // if there's a background worker, make it runnable and put