Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-16
21:01 • Ticket [218599ffff] after implementation leaves much to be desired status st... artifact: 1648d6f3a6 user: dgp
2000-10-26
08:25 • Closed ticket [218599ffff]. artifact: 65903f78c0 user: welch
01:02 • New ticket [218599ffff]. artifact: 0dc62e7574 user: nobody

after implementation leaves much to be desired

Closed / Fixed218599ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:02:57
OriginalBugID: 1400 Bug
Version: 8.0.3
SubmitDate: '1999-03-02'
LastModified: '1999-08-07'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: Windows 95
OSVersion: B
Machine: X86
FixedDate: '1999-08-07'
FixedInVersion: 8.1
ClosedDate: '2000-10-25'


Name:
Jim Bliese

CustomShell:
none

ReproducibleScript:
while {1 == 1} {
  set a [file size c:/progra~1/distri~1.net/buff-in.rc5]
  puts stdout $a
  if {$a == 8} then {
    file copy -force c:/progra~1/distri~1.net/buff-in.rc5 c:/progra~1/distri~1.net/buff-tmp.rc5
    file copy -force c:/progra~1/d.net/buff-new.rc5 c:/progra~1/distri~1.net/buff-in.rc5 
    file copy -force c:/progra~1/distri~1.net/buff-tmp.rc5 c:/progra~1/d.net/buff-new.rc5 
    }
  after 60000
  update
  update idletasks
}

I use this on a Windows machine, to keep my buffer files full for the distributed.net client.  I am happy with the small amount of resources this uses when called using wish.  But, while it sits on the after, it affects other applications as far as opening windows.

ObservedBehavior:
When sitting on the after, some other programs have trouble opening windows.  This includes 16-bit and 32-bit programs.

DesiredBehavior:
I expect it to sit quietly on the after, and let all my other programs go about their business.



There was a memory hogging issue that was resolved after 8.0.3.
In this case, it is also recommend that the user use a proc and
reschedule it each time with after rather than using the after
as some sort of sleep procedure. 
-- 08/07/1999 hobbs
welch Closed ticket [218599ffff]. [History diff]2000-10-26 08:25:09
dgp Ticket [218599ffff]: 3 changes [History diff]2001-04-16 21:01:02
Log in (anonymous is fine) to add a comment.