Boost logo

Boost :

Subject: Re: [boost] [Signals] Early exit on call
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-01-12 13:26:44


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 12 January 2009 11:37 am, Kisso Bajslovski wrote:
> I wonder if there's any way to end a call early. For example, if we have 4
> connections to a signal, and when the first 2nd is called it wants to abort
> and avoid the calls to the last 2 connections.

One way is to use a custom combiner, for example see the "DistributeRequest"
combiner in the tutorial example code.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJa4tp5vihyNWuA4URApd8AKCXRzBR5GzsgG4lQkTFlz2iqhunCQCgzlIp
fgjlbUoQJKMMgp3bvZp74uo=
=VeuP
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk