Overview
| Artifact ID: | bba9225760ef55698756a9dd41929b2f7fa39d6782ecb13802436d966cc313f4 |
|---|---|
| Ticket: | 3328635fffffffffffffffffffffffffffffffff
Virtual Time broken on threaded unix |
| User & Date: | oehhar on 2025-05-11 11:44:44 |
Changes
- icomment:
CHristian, thanks for looking into this. Undroidwish: [https://ch-werner.hier-im-netz.de/LUCK/undroidwish-win64.exe] There, the test works like a charme. I will diff the relevant places. Here is the log from Undoidwish: <verbatim> % proc pt sec10 { > > puts "sec10=$sec10, clock=[expr {[clock seconds]-$::now}]" > > } (Desktop) 2 % (Desktop) 2 % set now [clock seconds] 1746963642 (Desktop) 3 % (Desktop) 3 % for {set sec 10} {$sec<=180} {incr sec 10} {after [expr {$sec*1000}] [list pt $sec]} sec10=10, clock=10 sec10=20, clock=20 sec10=30, clock=566 sec10=40, clock=576 sec10=50, clock=586 sec10=60, clock=596 sec10=70, clock=606 sec10=80, clock=616 sec10=90, clock=626 sec10=100, clock=636 sec10=110, clock=646 sec10=120, clock=656 sec10=130, clock=666 sec10=140, clock=676 sec10=150, clock=686 </verbatim> The after is independent on the wall clock. You see the wall-clock jump at 20, but the after continue to work with a time distance of 10. Thanks for all, Harald - login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"