[prev in list] [next in list] [prev in thread] [next in thread]
List: zeromq-dev
Subject: Re: [zeromq-dev] how to use "inproc" for connecting C# and C++ (how to share context?)
From: Oleg Vazhnev <ovazhnev () gmail ! com>
Date: 2013-05-20 20:23:31
Message-ID: kne0ns$6i5$1 () ger ! gmane ! org
[Download RAW message or body]
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.
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic