[zeromq-dev] inproc transport

john skaller skaller at users.sourceforge.net
Sun Feb 26 23:43:04 CET 2012

hi .. I think I'm ignorant and confused here ..

Inproc transport passes a pointer from one thread to another,
perhaps one CPU to another.

The refcount is updated atomically and the pointer and refcount are synchronised
across caches. 

This is fast, but it because it isn't a full barrier? I.e. it only synchronises two
words of memory?? Not the whole cache?

So the message contents aren't synchronised?
Wouldn't you have to synchronise the whole region of the message buffer?

john skaller
skaller at users.sourceforge.net

More information about the zeromq-dev mailing list