make work with poll

This commit is contained in:
Love Hornquist Astrand
2009-11-23 17:52:46 -08:00
parent 7d1e32e6d9
commit 42ba3389db

View File

@@ -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();