summaryrefslogtreecommitdiff
path: root/src/object.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-15 17:49:40 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-15 17:49:40 +0100
commit2cef05d86976784f4bc1083cb0fa548e267ac132 (patch)
tree3c829a1bbf9f31742fe09111f8e8f1e35ded017c /src/object.hpp
parent14b112301e62af5115ab870d97ae448c2e3deddb (diff)
reconnection mechanism added to tcp transport
Diffstat (limited to 'src/object.hpp')
-rw-r--r--src/object.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/object.hpp b/src/object.hpp
index 84a57cd..496fd49 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -55,9 +55,10 @@ namespace zmq
void unregister_endpoints (class socket_base_t *socket_);
class socket_base_t *find_endpoint (const char *addr_);
- // Derived object can use following functions to interact with
- // global repositories. See dispatcher.hpp for function details.
+ // Returns number of thead slots in the dispatcher.
int thread_slot_count ();
+
+ // Chooses least loaded I/O thread.
class io_thread_t *choose_io_thread (uint64_t taskset_);
// Derived object can use these functions to send commands