0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-31 01:43:02 +08:00

minor beautifications

This commit is contained in:
Martin Sustrik 2010-09-26 18:01:59 +02:00
parent 5dae27d0ed
commit be79a9fbc2
4 changed files with 12 additions and 1 deletions

View File

@ -74,11 +74,13 @@ namespace zmq
// Maximal delay to process command in API thread (in CPU ticks).
// 3,000,000 ticks equals to 1 - 2 milliseconds on current CPUs.
// Note that delay is only applied when there is continuous stream of
// messages to process. If not so, commands are processed immediately.
max_command_delay = 3000000,
// Low-precision clock precision in CPU ticks. 1ms. Value of 1000000
// should be OK for CPU frequencies above 1GHz. If should work
// reasonably well fro CPU frequencies above 500MHz. For lower CPU
// reasonably well for CPU frequencies above 500MHz. For lower CPU
// frequencies you may consider lowering this value to get best
// possible latencies.
clock_precision = 1000000,

View File

@ -53,6 +53,9 @@ namespace zmq
// Address to connect to.
std::string protocol;
std::string address;
connect_session_t (const connect_session_t&);
void operator = (const connect_session_t&);
};
}

View File

@ -49,6 +49,9 @@ namespace zmq
// Name of the session. Corresponds to the peer's strong identity.
blob_t name;
named_session_t (const named_session_t&);
void operator = (const named_session_t&);
};
}

View File

@ -40,6 +40,9 @@ namespace zmq
// Hook into session's disconnection mechanism.
void detached ();
transient_session_t (const transient_session_t&);
void operator = (const transient_session_t&);
};
}