summaryrefslogtreecommitdiffstats
path: root/server/main_dispatcher.h
Commit message (Collapse)AuthorAgeFilesLines
* seamless migration: migration completion on the destination sideYonit Halperin2012-08-271-0/+1
| | | | | | Tracking the channels that wait for migration data. If there is a new migration process pending, when all the channels have restored their state, we begin the new migration.
* [0.8 branch] server: add main_dispatcherAlon Levy2011-10-311-0/+9
add main_dispatcher, a message passing mechanism for sending messages to the main thread. The main thread is the thread that implements SpiceCoreInterface, which is assumed to be a single thread. Similar to the async operation of red_worker, a socket pair is created and used to pass messages. The messages are a fixed size to ease parsing. A single message is defined to pass a channel_event. RHBZ: 746950 FDBZ: 41858 This patch is 0.8 branch only, for the master branch there should be a better approach to share code with red_dispatcher and ready the way for later adding more threads. cherry-pick from 0.8 80caf07e09efe14c67f89a3c01501a6a39681167 Conflicts: server/reds.c