mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
runtime: move mainExited boolean
This variable is only necessary on the cooperative and none scheduler. It is not used on the threads scheduler. The reason for moving is that the upcoming multicore baremetal scheduler also needs mainExited but of a different type: an atomic variable instead of a plain boolean.
This commit is contained in:
committed by
Ron Evans
parent
95ee572b4d
commit
3f8a110e4a
@@ -4,8 +4,6 @@ import "internal/task"
|
||||
|
||||
const schedulerDebug = false
|
||||
|
||||
var mainExited bool
|
||||
|
||||
var timerQueue *timerNode
|
||||
|
||||
// Simple logging, for debugging.
|
||||
|
||||
Reference in New Issue
Block a user