|
Boost Users : |
From: ycc (ycc_at_[hidden])
Date: 2005-08-22 19:24:06
> This is unsafe because, for example, the target thread may be holding a
> mutex which can then never be unlocked. Valid uses for thread suspension
> and termination are few and far between.
>
> Ben.
Maybe I used a wrong example
The TerminateThread is only a example to illustrate some additional
platform-dependent request. Of course TerminateThread is evil, but sometimes
we know it and use it.
What I need is , we don't lost control for the thread, I stilll can call
any raw api in rare case.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net