diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/messages.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c index b4fd82139e..f63e2c4766 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -19,13 +19,20 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* this module is used for internal messaging between Samba daemons. +/** + @file messages.c + + This module is used for internal messaging between Samba daemons. The idea is that if a part of Samba wants to do communication with another Samba process then it will do a message_register() of a dispatch function, and use message_send_pid() to send messages to that process. + The dispatch function is given the pid of the sender, and it can + use that to reply by message_send_pid(). See ping_message() for a + simple example. + This system doesn't have any inherent size limitations but is not very efficient for large messages or when messages are sent in very quick succession. |