Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9319dae2ac74fd4d244e753033bfa57481d918c70aae967d213ef384da59ac13
Ticket: 570cb6afea12bc135f6c78afc0abae53a1918438
Not getting expected outut.
User & Date: sebres on 2021-01-06 16:23:16
Changes

  1. closedate changed to: "2459221.18282566"
  2. closer changed to: "sebres"
  3. icomment:
    <code>after 700</code> is a simple sleep (no events executed during this sleep process at all); if you want that 3 timer events (100, 200 and 300ms) going executed during this sleep, you have to implement it:
    <ul>
    <li> either using other vwait:<code><pre>
      <b style="color:red">- after 700</b>
      <b style="color:green">+ after 700 {set ::to 1}; vwait ::to</b>
    </pre></code>
    </li>
    By the way there is also an enhancement RFE [fdfbd5e10] introducing timeout by vwait, e. g. <code>vwait 700 _</code> for exactly such purposes.<br/>
    <li> or using some cycle from now up to now+700ms, with update (and small after to avoid busy wait) inside the cycle
    </li>
    </ul>
    
  4. login: "sebres"
  5. mimetype: "text/x-fossil-wiki"