Remove poll in sending notis to client
- If the client is too busy to handle the noti callback, it
causes buxton daemon to block in poll function.
To prevent being blocked, remove poll in sending notis to client.
If the result of noti send is EWOULDBLOCK or EAGAIN, wait until
the socket fd is writable in the main loop and send it again.
Change-Id: I5c3e54495667cd927182de3323c0a97015e561f4
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
(cherry picked from commit
7d4c9d38b654ba340a02187d42d3a5d17ed6ba6b)