diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2009-11-08 16:34:12 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-11-09 14:39:33 +0200 |
commit | 8d5b738ba169c44d223ab6d99ec12e763ce5bc8e (patch) | |
tree | 3c1d4dd1b3c32f9a03dd456ea921a66ed7f6c7fd /client/windows/redc.vcproj | |
parent | 082934699611d5985ecf3386259d270d75e41c12 (diff) | |
download | spice-8d5b738ba169c44d223ab6d99ec12e763ce5bc8e.tar.gz spice-8d5b738ba169c44d223ab6d99ec12e763ce5bc8e.tar.xz spice-8d5b738ba169c44d223ab6d99ec12e763ce5bc8e.zip |
spice client: creating a general process loop.
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.
Diffstat (limited to 'client/windows/redc.vcproj')
-rw-r--r-- | client/windows/redc.vcproj | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/client/windows/redc.vcproj b/client/windows/redc.vcproj index f65e3a2f..c63e1f1c 100644 --- a/client/windows/redc.vcproj +++ b/client/windows/redc.vcproj @@ -225,6 +225,10 @@ >
</File>
<File
+ RelativePath=".\event_sources_p.cpp"
+ >
+ </File>
+ <File
RelativePath=".\events_loop_p.cpp"
>
</File>
@@ -311,6 +315,10 @@ >
</File>
<File
+ RelativePath="..\process_loop.cpp"
+ >
+ </File>
+ <File
RelativePath="..\quic.cpp"
>
</File>
@@ -437,6 +445,14 @@ >
</File>
<File
+ RelativePath="..\event_sources.h"
+ >
+ </File>
+ <File
+ RelativePath=".\event_sources_p.h"
+ >
+ </File>
+ <File
RelativePath="..\events_loop.h"
>
</File>
@@ -513,6 +529,10 @@ >
</File>
<File
+ RelativePath="..\process_loop.h"
+ >
+ </File>
+ <File
RelativePath=".\record.h"
>
</File>
|