From e9a589feac531379e569bc39d803b16179002cfa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 18 Sep 2009 18:05:55 -0700 Subject: s4-server: kill main daemon if a task fails to initialise When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state. --- source4/lib/messaging/messaging.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/lib/messaging/messaging.h') diff --git a/source4/lib/messaging/messaging.h b/source4/lib/messaging/messaging.h index c91a31d285..4ec69c8f34 100644 --- a/source4/lib/messaging/messaging.h +++ b/source4/lib/messaging/messaging.h @@ -36,4 +36,7 @@ struct messaging_context; /* temporary messaging endpoints are allocated above this line */ #define MSG_TMP_BASE 1000 +/* taskid for messaging of parent process */ +#define SAMBA_PARENT_TASKID 0 + #endif -- cgit