[zeromq-dev] C binding DLL for ROOT/CINT
Armin Steinhoff
armin at steinhoff.de
Thu May 6 09:31:32 CEST 2010
Hi Martin,
Martin Sustrik wrote:
[ clip]
> What exactly had to be modified? Any chance of getting the change upstream?
>
In the attachment is the modified include file.
>> However ... the build process is at the end a 2-liner !! (makecint
>> + make make command)
>>
>
> Nice.
>
Yes ... it's really brilliant.
>
>>>> PS: tested on LINUX and QNX
>>>>
>>>>
>>> Btw, how does the QNX port do? Does it work out of the box?
>>>
>>>
>> After the porting steps below it works out of the box:
>>
>> - CC=qcc CXX=QCC configure --with-c --with-perf .... if only C-bindings are requested
>>
>> - then add to platform.hpp:
>>
>> #define rpl_malloc malloc
>> #define ZMQ_FORCE_SELECT 1
>>
>
> These defines can be added to the existing build system. Would you be
> willing to test it, if I add the code?
>
Yes, it's not a big issue.
>
>> But the performance test shows not so brilliant results ...
>>
>
> Any specifics? Figures? HW it is run on?
>
Dual core machine, 1.8GHz CPU, standard latency test:
QNX6.4 (io_pkt)
TCP: 45us
UNIX socket: 37us
SUSE11.2 (non RT, same machine)
TCP: 17us
UNIX socket: 15us
Was a little bit disappointing ...
--Armin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100506/068b1521/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zmq.h
Type: text/x-chdr
Size: 7296 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100506/068b1521/attachment.h>
More information about the zeromq-dev
mailing list