[zeromq-dev] ZMQ vs SPI: FD shenanigans
Thomas Rodgers
rodgert at twrodgers.com
Tue Jan 20 18:45:34 CET 2015
>
> At least in the C++ version, the problem is relatively fragile
I always see the problem in my pure-C test
There are those that maintain that C is a simpler and more robust language
than C++ :-)~
On Tue, Jan 20, 2015 at 11:32 AM, Olaf Mandel <o.mandel at menlosystems.com>
wrote:
> Hello,
>
> Am 20.01.2015 18:07, schrieb Arnaud Kapp:
> > I don't really see anything in the small example that could cause a bug.
> > I am myself using libzmq (with zmqpp as a wrapper) on a Raspberry Pi +
> > a Piface digital card (which is a SPI device), and I have no trouble.
> >
> At least in the C++ version, the problem is relatively fragile: it only
> occurs if mixing ZMQ socket operations binds/connects with opening and
> closing files. There are cases where I also don't see the problem.
> Weirdly, I always see the problem in my pure-C test...
>
> > My kernel version is 3.12.28+ and I use a recent (a few commits behind
> > HEAD) version of libzmq.
> -Snipp-
>
> Good point, my machine and version numbers are:
>
> CPU: Freescale i.MX537 (Cortex-A8, NEON)
> GCC: 4.8.1, cross-compiling
> Linux: 3.10.28 + many platform patches
> ZMQ: zeromq/libzmq.git @ be23e699c
>
> Any other info of interest?
>
> Best regards,
> Olaf Mandel
> --
> Olaf Mandel
> phone: +49-89-189166-250
> fax: +49-89-189166-111
> Menlo Systems GmbH
> Am Klopferspitz 19a, D-82152 Martinsried
> Amtsgericht München HRB 138145
> Geschäftsführung: Dr Michael Mei, Dr Ronald Holzwarth
> USt-IdNr. DE217772017, St.-Nr. 14316170324
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150120/b9a7e3a7/attachment.htm>
More information about the zeromq-dev
mailing list