From 9cfdb441f45057c7106a101835d65164fce9470a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 5 Nov 2010 16:38:52 +0100 Subject: 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 --- src/ctx.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ctx.hpp') diff --git a/src/ctx.hpp b/src/ctx.hpp index a86482c..5a3a6aa 100644 --- a/src/ctx.hpp +++ b/src/ctx.hpp @@ -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 zombies_t; zombies_t zombies; - // List of unused slots. + // List of unused thread slots. typedef std::vector emtpy_slots_t; emtpy_slots_t empty_slots; -- cgit v1.2.3