Boost logo

Boost Users :

Subject: Re: [Boost-users] Asynchronous signals library
From: Ivan Le Lann (ivan.lelann_at_[hidden])
Date: 2012-05-28 04:31:51


----- Mail original -----
> De: "Edward Diener" <eldiener_at_[hidden]>
> À: boost-users_at_[hidden]
> Envoyé: Samedi 26 Mai 2012 04:56:57
> Objet: [Boost-users] Asynchronous signals library
>
> The signals and signals2 library work with signals ( events ) which
> are handled synchronously. Is there any Boost library, based on the
> function
> prototyping methods of signals(2), in which the signals are handled
> asynchronously ?

see:
http://www.boost.org/doc/libs/1_49_0/doc/html/signals/s06.html#id3149849

You can write you own combiner to handle the way slots are called.
Your combiner could post them in a thread(pool) queue.

If you need to report a result from your signal, futures can help.

Regards,
Ivan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net