X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fiface-windows.c;fp=src%2Fiface-windows.c;h=b2b96a15e77087e1ea128be196e06bb0a584fc56;hb=59e603d00947dfa0ee068c6ec15742fa75c44a27;hp=c62e96a31f7c980ff56bb9d1944701e8a2c7e721;hpb=fa43d5a814f153ffcfd6296e77f6f0df5c597cf9;p=catta diff --git a/src/iface-windows.c b/src/iface-windows.c index c62e96a..b2b96a1 100644 --- a/src/iface-windows.c +++ b/src/iface-windows.c @@ -217,8 +217,7 @@ static void queue_event(CattaInterfaceMonitor *m, ChangeEvent *ev) if(!pthread_mutex_lock(&m->osdep.mutex)) { // queue the event - // XXX event ordering!! - CATTA_LLIST_PREPEND(ChangeEvent, event, m->osdep.events, ev); + CATTA_LLIST_APPEND(ChangeEvent, event, m->osdep.events, ev); // wake the handler writepipe(m->osdep.pipefd[1], &c, sizeof(c));