Eventhandling: fix shutdownhandlers
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 6 May 2012 20:15:30 +0000 (22:15 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 6 May 2012 20:15:30 +0000 (22:15 +0200)
commit271924aeff4c786b31ec293ab48c861f7fe77bd0
tree8c58905163a910b064040c4def207106933bae2e
parent099ea32ab805ddc0191c4a8f0bc5ce4e2ad8254c
Eventhandling: fix shutdownhandlers

  - add a mutex for securely accessing the eventqueues from outside via ev_async_send() (s.b. might want to shut down meanwhile)
  - remove unused add-pipes we used for signaling before switching to libev4
  - start the shutdown handlers only from within the eventqueue
citadel/event_client.c
citadel/event_client.h
citadel/modules/c-ares-dns/serv_c-ares-dns.c
citadel/modules/eventclient/serv_eventclient.c
citadel/modules/rssclient/serv_rssclient.c