Boost logo

Boost :

Subject: Re: [boost] [thread] Is interrupting a non boost.thread possible?
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2009-11-09 05:10:54

Christoph Mathys <eraserix_at_[hidden]> writes:

> I've a question about boost.threads: Is it possible to interrupt a
> thread for which I don't have a thread-object but which is using boost
> synchronization primitives (mutex, condition)?

No. You need a boost::thread object to call interrupt and set the
interruption flag.


Author of C++ Concurrency in Action |
just::thread C++0x thread library   |
Just Software Solutions Ltd         |
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

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