mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
runtime: make channels parallelism-safe
This commit is contained in:
committed by
Ron Evans
parent
17302ca762
commit
6110f0bc1b
@@ -6,6 +6,9 @@ import "internal/task"
|
||||
|
||||
const hasScheduler = false
|
||||
|
||||
// No goroutines are allowed, so there's no parallelism anywhere.
|
||||
const hasParallelism = false
|
||||
|
||||
// run is called by the program entry point to execute the go program.
|
||||
// With the "none" scheduler, init and the main function are invoked directly.
|
||||
func run() {
|
||||
|
||||
Reference in New Issue
Block a user