Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-23
02:00 • Ticket [218191ffff] testthread send hangs up forever status still Closed wit... artifact: 2eeeb29d87 user: dgp
2000-10-26
08:16 • Closed ticket [218191ffff]. artifact: 488524ce41 user: welch
00:54 • New ticket [218191ffff]. artifact: 333015983c user: nobody

testthread send hangs up forever

Closed / Invalid218191ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:54:19
OriginalBugID: 2361 Bug
Version: 8.1.1
SubmitDate: '1999-07-16'
LastModified: '1999-08-05'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: SunOS
OSVersion: solaris 2.5.1
Machine: Sparc
FixedDate: '2000-10-25'
ClosedDate: '1999-08-05'


Name:
Yun-Wu Cheng

Extensions:
TK BLT

ReproducibleScript:
% testthread names
    1
    % testthread create
    5
    % testthread create
    6
    % testthread send 6 {testthread send 5 {set yy 9}}
    9
    % testthread send 5 {puts $yy}  
    9
    % testthread send 6 {testthread send 1 {set yy 9}} <== hangs up forever

DesiredBehavior:
I tried to send informations among threads. If this problem gets
    removed, I don't need to use variable traces. Actually, I don't see any
    document telling how to use variable traces for sharing information
    among threads.



This was shown to be a classic deadlock by Duffin:
   http://x25.deja.com/[ST_rn=ps]/viewthread.xp?AN=500747247 
-- 08/05/1999 hobbs
welch Closed ticket [218191ffff]. [History diff]2000-10-26 08:16:56
dgp Ticket [218191ffff]: 4 changes [History diff]2001-04-23 02:00:40
Log in (anonymous is fine) to add a comment.