messaging: Enforce just one messaging context
commitbd55fdbf09bd91351e097d4b71925c84de7b2a6e
authorVolker Lendecke <vl@samba.org>
Tue, 18 Feb 2014 19:51:23 +0000 (18 20:51 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 20 Feb 2014 00:38:30 +0000 (19 16:38 -0800)
tree6089193f4621f5f9c181ea31d898c956ac080af1
parentfb35d17e438772a357c442f15932986affb7c927
messaging: 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.

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