diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-03-14 04:33:14 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-03-14 04:33:14 +0100 |
commit | c8102f6ef6394357d2d1a53c579bca574a3e3c6a (patch) | |
tree | 8d0beaafa19bb00feb13382a3f2ca72a4c4dcd21 /src/ctx.hpp | |
parent | 02c1655c4e88ac55da1bc6482bfeaaa32d066d1f (diff) |
Removed leftovers from a logging experiment
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/ctx.hpp')
-rw-r--r-- | src/ctx.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ctx.hpp b/src/ctx.hpp index b83fa1f..c4fa96a 100644 --- a/src/ctx.hpp +++ b/src/ctx.hpp @@ -38,7 +38,6 @@ namespace xs { class object_t; - class monitor_t; class io_thread_t; class socket_base_t; class reaper_t; @@ -94,10 +93,6 @@ namespace xs void unregister_endpoints (xs::socket_base_t *socket_); endpoint_t find_endpoint (const char *addr_); - // Logging related functions. - void log (int sid_, const char *text_); - void publish_logs (const char *text_); - enum { term_tid = 0, reaper_tid = 1 @@ -154,17 +149,9 @@ namespace xs // Synchronisation of access to the list of inproc endpoints. mutex_t endpoints_sync; - // Monitor object attached to the context. - xs::monitor_t *monitor; - // Maximum socket ID. static atomic_counter_t max_socket_id; - // PUB socket for logging. The socket is shared among all the threads, - // thus it is synchronised by a mutex. - xs::socket_base_t *log_socket; - mutex_t log_sync; - // Maximum number of sockets that can be opened at the same time. int max_sockets; |