summaryrefslogtreecommitdiffstats
path: root/server/dispatcher.h
Commit message (Collapse)AuthorAgeFilesLines
* dispatcher: Remove unused dispatcher_read_messagePavel Grunt2015-11-231-1/+0
| | | | | | | It is not needed since d3153f861065235c2a7a7120375be5db948c5a77 Signed-off-by: Pavel Grunt <pgrunt@redhat.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
* removed unused recv_core fieldFrediano Ziglio2015-10-231-1/+0
| | | | Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
* server: remove worker thread creation from dispatcherMarc-André Lureau2015-10-221-0/+1
| | | | | Acked-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* Add missing license headersChristophe Fergeau2015-10-191-0/+17
|
* server/dispatcher: add extra_dispatcher, hack for red_recordAlon Levy2015-08-201-0/+12
| | | | Signed-off-by: Alon Levy <alon@pobox.com>
* dispatcher.h: fix - s/#define MAIN_DISPATCHER_H/#define DISPATCHER_HYonit Halperin2013-04-221-3/+3
|
* server/dispatcher: add dispatcher_register_async_done_callbackAlon Levy2011-11-081-0/+16
|
* introduce DISPATCHER_{NONE,ACK,ASYNC}Alon Levy2011-11-081-2/+11
|
* server: introduce dispatcherAlon Levy2011-11-081-0/+81
used for main_dispatcher only in this patch. Dispatcher is meant to be used for Main<->any low frequency messages. It's interface is meant to include the red_dispatcher usage: fixed size messages per message type some messages require an ack Some methods are added to be used by RedDispatcher later: dispatcher_handle_read - to be called directly by RedDispatcher epoll based loop dispatcher_set_opaque - to be set from red_worker pthread dispatcher_init - allow NULL core as used by red_worker Read and Write behavior: Sender: blocking write, blocking read for ack (if any). Reader: poll for any data, if such then blocking read for a message_type and following message. repeat until poll returns with no pending data to read. FDO Bugzilla: 42463