mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: implement local work queues (in preparation for new scheduler)
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7402047
This commit is contained in:
parent
1d7faf91df
commit
353ce60f6e
4 changed files with 243 additions and 0 deletions
|
|
@ -61,3 +61,9 @@ func ParForIters(desc *ParFor, tid uint32) (uint32, uint32) {
|
|||
begin, end := parforiters(desc, uintptr(tid))
|
||||
return uint32(begin), uint32(end)
|
||||
}
|
||||
|
||||
func testSchedLocalQueue()
|
||||
func testSchedLocalQueueSteal()
|
||||
|
||||
var TestSchedLocalQueue1 = testSchedLocalQueue
|
||||
var TestSchedLocalQueueSteal1 = testSchedLocalQueueSteal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue