Commit Graph

7 Commits

Author SHA1 Message Date
Asbjørn Heid
151182cbc8 xfreerdp-server: Fixed deadlock issue in event queue.
Writing to the pipe may block if the pipe is full. Holding the mutex while writing prevents listeners from
aquiring the mutex and unblocking the write. This leads to a deadlock situation.
2012-02-15 08:22:12 +01:00
Asbjørn Heid
2642bda7d1 xfreerdp-server: Fixed issue with high idle CPU usage.
The pipe used for signalling in the event queue was not properly
cleared when popping events, causing the select() in the main
loop to return immediately after the first event was queued,
instead of blocking for the next event.
2012-02-11 06:24:32 +01:00
Marc-André Moreau
ca8b92a247 xfreerdp-server: added frame tick event 2012-02-01 21:37:01 -05:00
Marc-André Moreau
cfd54a4e38 xfreerdp-server: fix event queuing 2012-01-31 16:28:23 -05:00
Marc-André Moreau
636f9fa402 xfreerdp-server: fix memory leak for snapshots 2012-01-31 14:09:55 -05:00
Marc-André Moreau
589e9e1142 xfreerdp-server: add event queue 2012-01-30 22:46:02 -05:00
Marc-André Moreau
5356e5a44e xfreerdp-server: adding xf_event.c and xf_input.c, refactoring 2012-01-30 21:35:15 -05:00