mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 20:13:40 +00:00
internal/task: a few small correctness fixes
This shouldn't affect Linux or MacOS, but it's good to have them fixed.
This commit is contained in:
committed by
Ron Evans
parent
c6b47fe6a0
commit
93f40992c1
@@ -220,7 +220,7 @@ func gcScanGlobals()
|
||||
var stackScanLock PMutex
|
||||
|
||||
//export tinygo_task_gc_pause
|
||||
func tingyo_task_gc_pause() {
|
||||
func tingyo_task_gc_pause(sig int32) {
|
||||
// Wait until we get the signal to start scanning the stack.
|
||||
Current().state.gcSem.Wait()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user