[sheepdog] [PATCH v3] lib: prioritize events for epoll() and enhance event loop

Liu Yuan namei.unix at gmail.com
Mon Dec 24 03:23:18 CET 2012


On 12/23/2012 11:57 PM, Hitoshi Mitake wrote:
>  sheep/cluster/accord.c    |    6 ++-
>  sheep/cluster/corosync.c  |    4 +-
>  sheep/cluster/local.c     |    4 +-
>  sheep/cluster/zookeeper.c |    8 ++-
>  sheep/request.c           |   33 +++++++++------
>  sheep/sheep.c             |    6 ++-
>  sheep/trace/trace.c       |   16 ++++---
>  sheep/work.c              |    6 ++-

Since sheep doesn't use it, then we shouldn't change the other
functions. This patch should only add event_loop_prio() only. We'd
better modify *affected* code on demand when you really begin to use
event_loop_prio(). Also you seem to forget the documentation
EVENT_LOOP_XXX again.

Thanks,
Yuan



More information about the sheepdog mailing list