We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dce224 commit b9387feCopy full SHA for b9387fe
src/runtime/runtime_rp2.go
@@ -291,10 +291,10 @@ func coreStackTop(core uint32) uintptr {
291
292
// These spinlocks are needed by the runtime.
293
var (
294
- printLock = spinLock{id: 0}
295
- schedulerLock = spinLock{id: 1}
296
- atomicsLock = spinLock{id: 2}
297
- futexLock = spinLock{id: 3}
+ printLock = spinLock{id: 20}
+ schedulerLock = spinLock{id: 21}
+ atomicsLock = spinLock{id: 22}
+ futexLock = spinLock{id: 23}
298
)
299
300
// A hardware spinlock, one of the 32 spinlocks defined in the SIO peripheral.
0 commit comments