X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fserver.c;h=74a736d32fa2add70186d254cf0327aceea8ef05;hb=a738ff892738e239ad74f5aa686108298efa7cea;hp=09e05ddefaf0868fe799b5efe2565ca52c2c035c;hpb=896bf64f85e767ce90bf8370f3731fa835e07f31;p=umurmur.git diff --git a/src/server.c b/src/server.c index 09e05dd..74a736d 100644 --- a/src/server.c +++ b/src/server.c @@ -141,6 +141,10 @@ void Server_runLoop(struct pollfd* pollfds) while (!shutdown_server) { struct sockaddr_storage remote; int i; + +#ifdef USE_SHAREDMEMORY_API + Sharedmemory_alivetick(); +#endif for(i = 0; i < nofServerSocks; i++) { pollfds[i].revents = 0; @@ -194,6 +198,9 @@ void Server_runLoop(struct pollfd* pollfds) if (pollfds[nofServerSocks + i].revents & POLLOUT) Client_write_fd(pollfds[nofServerSocks + i].fd); } +#ifdef USE_SHAREDMEMORY_API + Sharedmemory_update(); +#endif } }