summaryrefslogtreecommitdiffstats
path: root/client/process_loop.cpp
Commit message (Collapse)AuthorAgeFilesLines
* add #include <config.h> to all source filesChristophe Fergeau2011-05-031-0/+3
| | | | | | | | When using config.h, it must be the very first include in all source files since it contains #define that may change the compilation process (eg libc structure layout changes when it's used to enable large file support on 32 bit x86 archs). This commit adds it at the beginning of all .c and .cpp files
* client: fix broken vs2008 buildAlon Levy2011-01-271-1/+1
|
* mingw32 build: fix signed/unsigned warnings as errorsAlon Levy2010-12-081-3/+3
|
* spicec: add ProcessLoop::on_start_running()Arnon Gilboa2010-10-171-1/+1
|
* Fix spelling errors in comments and stringsAlexander Larsson2010-05-211-1/+1
|
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* client: fix unsafe access to an event memberYonit Halperin2010-04-061-4/+1
|
* spice client: calling the timers during modal loop in WindowsYonit Halperin2009-11-091-0/+10
|
* spice client: cosmetic changesYonit Halperin2009-11-091-13/+19
|
* spice client: creating a general process loop.Yonit Halperin2009-11-091-0/+390
The process loop is responsible for: 1) waiting for events 2) timers 3) events queue for actions that should be performed in the context of the thread and are pushed from other threads. The benefits: 1) remove duplicity: till now, there was one implementaion of events loop for the channels and another one for the main thread. 2) timers can be executed on each thread and not only on the main thread. 3) events can be pushed to each thread and not only to the main thread. In this commit, only the main thread was modified to use the new process loop.