mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-24 06:19:04 +00:00
runtime: fix regression introduced by merging conflicting PRs
This commit is contained in:
committed by
Ron Evans
parent
dd1ebbd31b
commit
5f252b3e16
@@ -475,7 +475,7 @@ func signal_recv() uint32 {
|
|||||||
// again), and false otherwise.
|
// again), and false otherwise.
|
||||||
func checkSignals() bool {
|
func checkSignals() bool {
|
||||||
if receivedSignals.Load() != 0 && signalRecvWaiter != nil {
|
if receivedSignals.Load() != 0 && signalRecvWaiter != nil {
|
||||||
runqueuePushBack(signalRecvWaiter)
|
scheduleTask(signalRecvWaiter)
|
||||||
signalRecvWaiter = nil
|
signalRecvWaiter = nil
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user