slots renamed to tids

Threads were so far identified by integers called 'slots'.
This patch renames them to more comprehensible 'tid's (thread IDs).

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2010-11-05 16:38:52 +01:00
parent 623a9c9f1b
commit 9cfdb441f4
28 changed files with 67 additions and 67 deletions

View File

@@ -61,8 +61,8 @@ namespace zmq
// Make socket a zombie.
void zombify_socket (socket_base_t *socket_);
// Send command to the destination slot.
void send_command (uint32_t slot_, const command_t &command_);
// Send command to the destination thread.
void send_command (uint32_t tid_, const command_t &command_);
// Returns the I/O thread that is the least busy at the moment.
// Affinity specifies which I/O threads are eligible (0 = all).
@@ -90,7 +90,7 @@ namespace zmq
typedef std::vector <socket_base_t*> zombies_t;
zombies_t zombies;
// List of unused slots.
// List of unused thread slots.
typedef std::vector <uint32_t> emtpy_slots_t;
emtpy_slots_t empty_slots;