signaler renamed to mailbox

For historical reasons queue to transfer commands between
threads was called 'signaler'. Given that it was used to
pass commands rather than signals it was renamed to 'mailbox',
see Erlang mailboxes.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2010-11-05 17:39:51 +01:00
parent 9cfdb441f4
commit 9da84a5239
12 changed files with 72 additions and 61 deletions

View File

@@ -26,7 +26,7 @@
#include "../include/zmq.h"
#include "signaler.hpp"
#include "mailbox.hpp"
#include "semaphore.hpp"
#include "ypipe.hpp"
#include "array.hpp"
@@ -117,9 +117,9 @@ namespace zmq
typedef std::vector <class io_thread_t*> io_threads_t;
io_threads_t io_threads;
// Array of pointers to signalers for both application and I/O threads.
// Array of pointers to mailboxes for both application and I/O threads.
uint32_t slot_count;
signaler_t **slots;
mailbox_t **slots;
// List of inproc endpoints within this context.
typedef std::map <std::string, class socket_base_t*> endpoints_t;