[zeromq-dev] how to use "inproc" for connecting C# and C++ (how to share context?)
Oleg Vazhnev
ovazhnev at gmail.com
Mon May 20 22:23:31 CEST 2013
Thanks Pieter!
So far I replaced zmq with single delegate call, it takes about 8
microseconds to deliver pointer from c++ to c# on my machine.
BTW sharing between c and c++ sounds easy because i can use c classes
from c++. In c# i can not use c-style zeromq "context" class... So I
guess I need some "portable" way to represent context. Probably "int
contextId" or something like that... i will look at examples you suggest
probably answer is there :)
15.05.2013 1:22, Pieter Hintjens пишет:
> Look at how CZMQ creates threads (the zthread module). Then your
> parent (e.g. C++) starts C threads and passes its context. The two can
> then communicate over inproc.
>
More information about the zeromq-dev
mailing list