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
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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.
- is_private changed to: "0"
- login: "SpaceManiac"
- priority changed to: "5 Medium"
- private_contact changed to: "3c752899ab690a9c731483006ef64bdb02521c14"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "SpaceManiac"
- subsystem changed to: "03. Timer Events"
- title changed to: "Add "after at" to schedule for a specific time"
- type changed to: "Patch"