Closed Rewbert closed 3 years ago
I already created two tiny functions in peng-scheduler.c
, and I suppose they can be generated already alongside the program.
@Rewbert , if I remember correctly, this issue is resolved by the microtick in your DEBUG_PRINT
function, right?
Not necessarily! But since some more debug stuff was offloaded to the RTS anyway, it doesn't make as much sense to worry about this anymore. This was at the point when I had just had to modify the RTS to acommodate some debug things (which we do more of now).
I think this can be closed :)
So in order to detect cases where the continuation queue gets full I need to perform checks. The eventqueue gets populated either by forking processes explicitly or by the RTS performing updates via scheduled events. To be able to detect that there's no more room for continuation while performing events, I had to modify the tick function in
peng-scheduler.c
. Perhaps this whole function should also be generated alongside the rest of the program?