1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

killing threads

Discussion in 'C' started by abhishek.biradar, Sep 3, 2010.

  1. abhishek.biradar

    abhishek.biradar New Member

    Joined:
    Sep 1, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hi can we kill a thread of one process p1(hwp) by use of thread of another process p2 (hwp)
    if not why??
     
  2. LordN3mrod

    LordN3mrod New Member

    Joined:
    Sep 4, 2010
    Messages:
    22
    Likes Received:
    11
    Trophy Points:
    0
    Occupation:
    Software Developer
    Location:
    Yerevan, Armenia
    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
     

Share This Page