for debugging
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 27 Oct 2009 02:18:52 +0000 (13:18 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 27 Oct 2009 02:18:52 +0000 (13:18 +1100)
commit4d40b86805452c0b769ebdaaa14c05ad13c24852
treea6d51a173ddd5a7e18969c8d728e7aaf3393bac1
parent3d713d9e53ccfe1569713ec9b4058705629cbb80
for debugging

add a global variable holding the pid of the main daemon.
change the tracking of time() in the event loop to only check/warn when called from the main daemon

(This used to be ctdb commit a10fc51f4c30e85ada6d4b7347b0f9a8ebc76637)
ctdb/client/ctdb_client.c
ctdb/include/ctdb_private.h
ctdb/lib/events/events_epoll.c
ctdb/lib/events/events_select.c
ctdb/lib/events/events_standard.c
ctdb/server/ctdb_daemon.c
ctdb/tools/ctdb.c