Use eventfd instead of pipes for notifications 11/252011/3
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 21 Jan 2021 12:10:45 +0000 (13:10 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 29 Jan 2021 12:23:05 +0000 (13:23 +0100)
commitaf5db16af6f3efb9c134d3bf4b0a01c607e3b37e
tree1b77e3aad38bd128ebd3927c9db6d8c1890f8237
parentfa85ada1b67ba918f8d86adbdf323e2d22f159bc
Use eventfd instead of pipes for notifications

The kernel overhead of an eventfd file descriptor is much lower than
that of a pipe, and only one file descriptor is required.

Change-Id: Ie6d04d1ea8125190c35e1ef1655f517406eff807
src/manager/client-async/connection-thread.cpp
src/manager/client-async/connection-thread.h
src/manager/main/socket-manager.cpp
src/manager/main/socket-manager.h