Poll after signal dispatch
1 files changed, 2 insertions(+), 0 deletions(-) M src/genode/signals.nim
M src/genode/signals.nim => src/genode/signals.nim +2 -0
@@ 8,6 8,7 @@ when not defined(genode) or defined(nimdoc): {.error: "Genode only module".} from std/asyncdispatch import poll import ../genode @@ from std/strutils import rsplit 69,3 70,4 @@ proc nimHandleSignal(p: pointer) {.exportc.} = let dispatch = cast[SignalDispatcher](p) doAssert(not dispatch.cb.isNil) dispatch.cb() poll(0)