summaryrefslogtreecommitdiffstats
path: root/event_notifier-posix.c
Commit message (Collapse)AuthorAgeFilesLines
* event_notifier: enable it to use pipesPaolo Bonzini2012-10-301-16/+69
| | | | | | | | | | | | | | | This takes the eventfd emulation code from the main loop. When the EventNotifier is used for the main loop too, we need this compatibility code. Without CONFIG_EVENTFD, event_notifier_get_fd is only usable for the "read" side of the notifier, for example to set a select() handler. The return value of event_notifier_set changes to the cleaner 0/-errno. No caller is actually checking the return value. Reviewed-by: Anthony Liguori <anthony@codemonkey.ws> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* event_notifier: add Win32 implementationPaolo Bonzini2012-10-301-0/+67
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
OpenPOWER on IntegriCloud