tevent: Rename wakeup fds
authorVolker Lendecke <vl@samba.org>
Wed, 7 Sep 2016 17:17:21 +0000 (19:17 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 4 Oct 2016 22:06:21 +0000 (00:06 +0200)
commitd90f325878f8aab5c66ac304e501627040788138
tree3b5345a808b5d7b013fe8a282e2e82b56086ef08
parent0ecefd5bf91ae8297569dc862d7259e942d895fe
tevent: Rename wakeup fds

This makes the reading end of the signalling pipe special: If we have eventfd,
this is the same as the write fd. Without eventfd, it will have to be a
separate fd. This moves the requirement to #ifdef from the writing end to the
reading end. Why? We'll use the writing end somewhere else too soon, and this
patch avoids an #ifdef in that new place.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tevent/tevent.c
lib/tevent/tevent_internal.h