Subject: [boost] threads: how to remotely kill a thread?
From: David M. Cotter (me_at_[hidden])
Date: 2009-10-02 03:07:50
say i'm on the main thread, and i've got a thread::id of some other
preemptive thread. i do not have the actual boost::thread object any
and i want to unceremoniously kill that thread. like right now.
how do i kill it? i don't see a way to recover the actual
boost::thread from the thread::id. but even if i could, and then call
thread.interrupt(), that's more of a polite request which is free to
be ignored, rather than a you_must_die_now() thing.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk