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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice