Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2005-08-17 07:40:41

Thorsten Schuett wrote:

>>In another reply, thread-cancellation was mentioned. We don't have
>>thread-cancellation currently, but it would be nice if future<> would
>>not only accept functors but also allow for an optional interface to be
>>passed for signaling an abort request. A user would then be able to
>>implement a mechanism that works form her/him. Maybe, an abort policy
>>would be the right thing here.
> This depends on the cancelation possibilities in boost.thread.

No, it doesn't.

The whole point is that the user is enabled to implement his own
abort-signaling mechanism (e.g. by setting a flag that gets read by the
running thread, or by writing to an additional file descriptor used in a
call to select() in the code run by the thread).

Send instant messages to your online friends

Boost list run by bdawes at, gregod at, cpdaniel at, john at