util: New functions ctdb_set_child_info() and ctdb_is_child_process()
authorMartin Schwenke <martin@meltin.net>
Tue, 16 Apr 2013 01:11:11 +0000 (11:11 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 18 Apr 2013 03:18:29 +0000 (13:18 +1000)
commit4ede763f3b673cad17536f495cc8d80f4f014b97
treedbda6d513fc30394665103c4d4996d9eebe0545d
parentf07d47a56d68e42bc89ea0ff2879fc7aab3ffdec
util: New functions ctdb_set_child_info() and ctdb_is_child_process()

Must be called by all child processes.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 59b019a97aad9a731f9080ea5be14d0dbdfe03d6)
ctdb/common/ctdb_fork.c
ctdb/include/ctdb_private.h