summaryrefslogtreecommitdiffstats
path: root/source/utils/msgtest.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix for a problem with the new messaging system. If a sender is using theJeremy Allison2000-11-161-2/+27
| | | | | | | | | | | | | messaging system as a notification mechanism, and the speed of notification greatly exceeds the speed of message recovery, then you get a massively (>75Mb) growing tdb. If the message is a simple notification, then the message is static, and you only need one of them in transit to a target process at any one time. This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives. If set to False, then before sending a message the sender checks the existing message queue for a target pid for a duplicate of this message, and doesn't add to it if one already exists. Jeremy.
* first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell2000-09-131-14/+4
| | | | | | | smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election
* - fixed some memory leaks in the messages codeAndrew Tridgell2000-09-121-3/+21
| | | | - added a MSG_PING message for performance testing.
* - changed the msg_type to be an int instead of an enum so that it isAndrew Tridgell2000-09-121-1/+1
| | | | | | | easier to add new message types to messages.h without breaking old binaries - added a MSG_FORCE_ELECTION message to force nmbd to hold an election
* a simple test program I use to test the debug message systemAndrew Tridgell2000-09-111-0/+63