Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 48a4ebc6cd7f01d560cb5439a41f901fa3fe976c
Ticket: 2953b1b26b58c887435b74923ccef1712ad4b614
Add "after at" to schedule for a specific time
User & Date: SpaceManiac on 2016-11-18 12:00:48
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    This patch adds an "after at" subcommand which acts like "after" but accepts an absolute number of milliseconds (same terms as "clock milliseconds") to wait until rather than a relative number of milliseconds to wait for. Both command and commandless (synchronous pausing) forms are handled.
    
    Calculation of end time is deduplicated between AfterDelay and Tcl_AfterObjCommand and switches on whether "after at" was called. This means Tcl_GetTime is called marginally earlier in the code; perhaps this is undesirable if applications are extremely sensitive to microsecond changes in timing.
    
    I am a first-time Tcl contributor, but a long-time casual user; my apologies if I have inadvertently done a runaround on how patches are usually contributed, or if this patch is in the wrong format. Just let me know.
    
  5. is_private changed to: "0"
  6. login: "SpaceManiac"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "3c752899ab690a9c731483006ef64bdb02521c14"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "SpaceManiac"
  13. subsystem changed to: "03. Timer Events"
  14. title changed to: "Add "after at" to schedule for a specific time"
  15. type changed to: "Patch"