Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-09-13
08:18 • Closed ticket [1786457fff]: event loop effect: a bug? plus 7 other changes artifact: 14beab337e user: msofer
2007-09-05
03:54 • Ticket [1786457fff]: 4 changes artifact: bb83fbf48d user: msofer
03:50 • Ticket [1786457fff]: 4 changes artifact: 3f4cb37b54 user: andreas_kupries
2007-09-04
22:19 • Ticket [1786457fff]: 2 changes artifact: 8dc032d0e2 user: dgp
2007-09-01
22:17 • New ticket [1786457fff]. artifact: eaba6777a6 user: msofer

event loop effect: a bug?

Closed / Duplicate1786457fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-09-01 22:17:42
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
dgp Ticket [1786457fff]: 2 changes [History diff]2007-09-04 22:19:58
andreas_kupriesplain2007-09-05 03:50:42
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.
msoferplain2007-09-05 03:54:54
Logged In: YES 
user_id=148712
Originator: YES

Correct: the one that starts the event loop is threaded. Sorry for the confusion.
msoferplain2007-09-13 08:18:40
Logged In: YES 
user_id=148712
Originator: YES

See 1357468
Log in (anonymous is fine) to add a comment.