[zeromq-dev] ØMQ VSM data alignment
Matt Weinstein
matt_weinstein at yahoo.com
Thu Aug 5 12:27:41 CEST 2010
As I said it's EARLY here :-)
Already realized my error ( while shaving )
On Aug 5, 2010, at 6:17 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> 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.
>
> Martin
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list