#3773 event loop effect: a bug?

obsolete: 8.5a7
closed-duplicate
5
2007-09-13
2007-09-01
No

Enabling threads seems to change the event loop behaviour. On 8.5a6 unthreaded the event loop runs ieven if there are no event sources: 'vwait forever' in a freshly launched tclsh just "hangs" indefinitely.

In an unthreaded build we see the well known
% vwait forever
can't wait for variable "forever": would wait forever

This is on Linux/i686, kernel 2.6.20

Discussion

  • Don Porter

    Don Porter - 2007-09-04
    • labels: 104253 --> 02. Event Loops
    • assigned_to: nobody --> hobbs
     
  • Andreas Kupries

    Andreas Kupries - 2007-09-04

    Logged In: YES
    user_id=75003
    Originator: NO

    Miguel, you said 'unthreaded' for both examples. Which is which witch ? I am guessing that the first example is 'threaded'. The one which starts the event loop.

     
  • miguel sofer

    miguel sofer - 2007-09-04

    Logged In: YES
    user_id=148712
    Originator: YES

    Correct: the one that starts the event loop is threaded. Sorry for the confusion.

     
  • miguel sofer

    miguel sofer - 2007-09-13

    Logged In: YES
    user_id=148712
    Originator: YES

    See 1357468

     
  • miguel sofer

    miguel sofer - 2007-09-13
    • status: open --> closed-duplicate
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks