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/object.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/object.hpp') diff --git a/src/object.hpp b/src/object.hpp index 390cae1..f8cfdda 100644 --- a/src/object.hpp +++ b/src/object.hpp @@ -34,11 +34,11 @@ namespace zmq { public: - object_t (class ctx_t *ctx_, uint32_t slot_); + object_t (class ctx_t *ctx_, uint32_t tid_); object_t (object_t *parent_); virtual ~object_t (); - uint32_t get_slot (); + uint32_t get_tid (); ctx_t *get_ctx (); void process_command (struct command_t &cmd_); @@ -110,8 +110,8 @@ namespace zmq // Context provides access to the global state. class ctx_t *ctx; - // Slot ID of the thread the object belongs to. - uint32_t slot; + // Thread ID of the thread the object belongs to. + uint32_t tid; void send_command (command_t &cmd_); -- cgit v1.2.3