[zeromq-dev] ØMQ VSM data alignment

Martin Sustrik sustrik at 250bpm.com
Thu Aug 5 12:17:03 CEST 2010

Matt Weinstein wrote:
> Whoops gotta watch for the void*
> And putting it second may not guarantee void* enforced the proper alignment
> Sigh...

Do you mean the void* won't be properly aligned? It will. Compiler takes 
care of that for you. It'll pad the space between the buffer and the 
void* by non-used memory as to make it aligned.


More information about the zeromq-dev mailing list