NO-OP: clang-format
This commit is contained in:
parent
c1d6c0690e
commit
9ce91e2952
@ -76,7 +76,7 @@ void
|
||||
CrossThreadChannel::wakeup ()
|
||||
{
|
||||
char c = 0;
|
||||
(void) ::write (fds[1], &c, 1);
|
||||
(void)::write (fds[1], &c, 1);
|
||||
}
|
||||
|
||||
void
|
||||
@ -93,12 +93,12 @@ CrossThreadChannel::deliver (char msg)
|
||||
}
|
||||
|
||||
bool
|
||||
CrossThreadChannel::poll_for_request()
|
||||
CrossThreadChannel::poll_for_request ()
|
||||
{
|
||||
struct pollfd pfd;
|
||||
pfd.fd = fds[0];
|
||||
pfd.events = POLLIN|POLLERR|POLLHUP|POLLNVAL;
|
||||
while(true) {
|
||||
pfd.events = POLLIN | POLLERR | POLLHUP | POLLNVAL;
|
||||
while (true) {
|
||||
#ifdef __APPLE__
|
||||
/* on macOS poll() will not return when the pipe
|
||||
* is closed in an EOF state. ork around with a timeout.
|
||||
|
Loading…
Reference in New Issue
Block a user