isc_async_run() needs to post events in reverse order
As noted in this comment in loop.c
, uv_idle
will process items in LIFO order, so we have to post them backwards in order to have them run FIFO. This necessity was overlooked in isc_async_run()
. It doesn't cause any problems as long as you only post one new event per event, but if you post two or more, they'll happen out of the expected order.