[zeromq-dev] zloop_timer() does not fire if added after zloop_start()...

Andy Ballingall TF ballingall at thefoundry.co.uk
Thu Dec 27 14:45:15 CET 2012


Hi KIU,

On 27 December 2012 11:13, KIU Shueng Chuan <nixchuan at gmail.com> wrote:
> If you have already started the reactor, are you not then trying to add a
> timer from another thread? The code is not thread-safe, so you shouldn't be
> doing it.
>
I was only adding a timer from within a handler attached to the
reactor for processing messages. See my reply to Pieter for more
details.

Andy

--
Andy Ballingall
Senior Software Engineer

The Foundry
6th Floor, The Communications Building,
48, Leicester Square,
London, WC2H 7LT, UK
Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906
Web: http://www.thefoundry.co.uk/

The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027



More information about the zeromq-dev mailing list