killing threads

abhishek.biradar's Avatar, Join Date: Sep 2010
Newbie Member
hi can we kill a thread of one process p1(hwp) by use of thread of another process p2 (hwp)
if not why??
0
LordN3mrod's Avatar, Join Date: Sep 2010
Go4Expert Member
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