tevent: Move rundown of the event pipe
authorVolker Lendecke <vl@samba.org>
Fri, 12 Aug 2016 14:00:56 +0000 (16:00 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 23 Aug 2016 23:33:48 +0000 (01:33 +0200)
commit2d55883e28e74b8e1d576e4a94a22d95a7b78618
tree9ff672f9b6f038f20248f6da6473045f20e5e08c
parent9d2ae4785d81d2679c41a99ed80032bb055bfdf4
tevent: Move rundown of the event pipe

Purely cosmetic change: This moves closing the signal/thread event pipe
to where it's opened. This prepares the eventfd support, making the
"magic" for eventfd more obvious.

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