VSM data are aligned to 32/64 bit boundary

Till now the VSM buffer was aligned to 16 bit boundary
which could possibly cause problems on RISC architectures
when accessing the message data in unsafe manner.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-07-08 18:12:59 +02:00
parent 1526ff638c
commit aa2150c25c
3 changed files with 16 additions and 7 deletions

View File

@@ -39,10 +39,6 @@ namespace zmq
// Commands in pipe per allocation event.
command_pipe_granularity = 16,
// Size in bytes of the largest message that is still copied around
// rather than being reference-counted.
max_vsm_size = 29,
// Determines how often does socket poll for new commands when it
// still has unprocessed messages to handle. Thus, if it is set to 100,
// socket will process 100 inbound messages before doing the poll.