messaging3: Enforce just one messaging context
commitc81f1aab93f613db5a7f8131e3761b0fb1c8ea83
authorVolker Lendecke <vl@samba.org>
Tue, 18 Feb 2014 19:51:23 +0000 (18 20:51 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 30 May 2014 23:59:18 +0000 (31 01:59 +0200)
tree0cecdcaa33f244001d6238b0329f3eed6f94a5d3
parentc487937b0146c19d4969208519f2c11b64666842
messaging3: Enforce just one messaging context

The current messaging implementation is based on a tdb indexed by server_id. If
we have more than one messaging context in a process, messages might not arrive
at the right context and be dropped, depending on which signal handler is
triggered first.

This is the same patch as bd55fdb lifted to messaging.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/messages.c