Killing a python thread with a signal

Discussion in 'Python' started by James Lamanna, Dec 22, 2004.

  1. So I've created a thread with the threading.Thread class, but I want to
    be able to kill this thread because it does a select() with a timeout of
    None.

    Is there any way to send a signal only to this thread and wake it up
    from the select?

    Thanks.

    Please CC me for I am not subscribed.
    --
    James Lamanna
     
    James Lamanna, Dec 22, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-2?Q?Jacek_Pop=B3awski?=

    killing thread after timeout

    =?ISO-8859-2?Q?Jacek_Pop=B3awski?=, Sep 6, 2005, in forum: Python
    Replies:
    10
    Views:
    820
    Bryan Olson
    Sep 8, 2005
  2. Jack Orenstein

    threading.Thread vs. signal.signal

    Jack Orenstein, Sep 18, 2005, in forum: Python
    Replies:
    0
    Views:
    489
    Jack Orenstein
    Sep 18, 2005
  3. Carl J. Van Arsdall

    Re: Killing a thread

    Carl J. Van Arsdall, Jun 10, 2006, in forum: Python
    Replies:
    3
    Views:
    427
    Antoon Pardon
    Jun 12, 2006
  4. Fredrik Lundh

    Re: Killing a thread

    Fredrik Lundh, Jun 10, 2006, in forum: Python
    Replies:
    4
    Views:
    306
    Fredrik Lundh
    Jun 11, 2006
  5. Christopher Debski
    Replies:
    1
    Views:
    124
    Alex Katebi
    Feb 22, 2009
Loading...

Share This Page