make work with poll
This commit is contained in:
@@ -735,7 +735,8 @@ process_loop(void)
|
|||||||
if (n < num_clients - 1)
|
if (n < num_clients - 1)
|
||||||
clients[n] = clients[num_clients - 1];
|
clients[n] = clients[num_clients - 1];
|
||||||
num_clients--;
|
num_clients--;
|
||||||
}
|
} else
|
||||||
|
n++;
|
||||||
}
|
}
|
||||||
|
|
||||||
free(fds);
|
free(fds);
|
||||||
@@ -864,7 +865,7 @@ heim_sipc_free_context(heim_sipc ctx)
|
|||||||
void
|
void
|
||||||
heim_ipc_main(void)
|
heim_ipc_main(void)
|
||||||
{
|
{
|
||||||
#if __APPLE__
|
#ifdef HAVE_GCD
|
||||||
dispatch_main();
|
dispatch_main();
|
||||||
#else
|
#else
|
||||||
process_loop();
|
process_loop();
|
||||||
|
Reference in New Issue
Block a user