Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   killing threads (http://www.go4expert.com/forums/killing-threads-t23186/)

abhishek.biradar 3Sep2010 12:28

killing threads
 
hi can we kill a thread of one process p1(hwp) by use of thread of another process p2 (hwp)
if not why??

LordN3mrod 7Sep2010 00:48

Re: killing threads
 
What threading model are you using? Windows? Posix?
Anyway, I think you can't unless you have a handle to that thread (which one process might somehow pass to another). Even if you do have the handle it's still very dubitable that the OS will let you do it. Though I am not an expert in this matter


All times are GMT +5.5. The time now is 05:50.