Boost logo

Boost Users :

Subject: Re: [Boost-users] Suggestion about using Signals2
From: Igor R (boost.lists_at_[hidden])
Date: 2009-03-20 08:20:46

> But another problem is raised: when I receive 2 command one after other
> quickly, I miss the second, so...
> Is there a method to launch a signal directly into another thread?
> Something like:
> boost::thread(boost::bind(signal_OnData, ptrToObj))

I'm not sure I understand your issue, but anyway, in such kind of task
you can consider using boost.asio. Using asio::io_service::post you
can conveniently post functors between different threads, without the
need for explicit locking.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at