thread join() not stopping

Discussion in 'Python' started by mclaugb, Sep 2, 2006.

  1. mclaugb

    mclaugb Guest

    Here is a simple piece of code.
    When i add the print (or other) function into the run method--the thread
    fails to stop after 2 seconds which the join(2) should ensure.

    Any help appreciated. Should compile on 2.4
     
    mclaugb, Sep 2, 2006
    #1
    1. Advertisements

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. Replies:
    1
    Views:
    546
    Alvin Bruney - ASP.NET MVP
    Nov 4, 2005
  2. Kevin Jennings

    Safely stopping a thread

    Kevin Jennings, Apr 21, 2004, in forum: Java
    Replies:
    2
    Views:
    765
    Roedy Green
    Apr 21, 2004
  3. Ivan Villanueva
    Replies:
    2
    Views:
    834
    Antti S. Brax
    Jun 9, 2005
  4. Alan Silver
    Replies:
    0
    Views:
    1,054
    Alan Silver
    Jun 5, 2006
  5. googleboy
    Replies:
    1
    Views:
    1,089
    Benji York
    Oct 1, 2005
  6. mclaugb

    thread join() not stopping

    mclaugb, Sep 2, 2006, in forum: Python
    Replies:
    1
    Views:
    344
    Peter Otten
    Sep 2, 2006
  7. thefed

    Why not call Thread.join?

    thefed, Dec 31, 2007, in forum: Ruby
    Replies:
    12
    Views:
    265
    Ian Whitlock
    Jan 1, 2008
  8. David Karr
    Replies:
    1
    Views:
    164
    Willem
    Apr 6, 2011
Loading...