Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "after at" to schedule events for a specific time #2

Open
SpaceManiac opened this issue Nov 18, 2016 · 8 comments
Open

Add "after at" to schedule events for a specific time #2

SpaceManiac opened this issue Nov 18, 2016 · 8 comments

Comments

@SpaceManiac
Copy link

A patch has been submitted upstream:

https://core.tcl.tk/tcl/tktview/2953b1b26b58c887435b74923ccef1712ad4b614

@jima00
Copy link

jima00 commented Nov 18, 2016

Any chance this could be coordinated with efforts towards http://www.tcl.tk/cgi-bin/tct/tip/302 ?

@eviltwinskippy
Copy link

For the interim, there is a pure-tcl module for tcllib to do roughly this task:
http://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/modules/cron/cron.html

@kennykb
Copy link

kennykb commented Dec 7, 2016

@jima00 - Yes, I would imagine that we'd want to combine this functionality with 302. My only trepidation is that it changes the semantics of [after] for all the programs that are using something like the 'cron' module to get the desired functionality. [at] really does need to be affected by changes in the system clock.

@resuna
Copy link
Member

resuna commented Apr 7, 2017

It seems like implementing "after at" and then giving some time for programs currently using "after" to schedule wallclock events to switch to "after at" would be a path to making TIP #302 implementable.

So I think this should be submitted as a new TIP with cross-reference to TIP #302.

@sebres
Copy link

sebres commented Jun 29, 2017

I've provided artificial PR sebres/tcl#4, that fully implements this (together with TIP #302 and many, many other things.

If I get a bit time, and TCT does not see absolute no-go for it (because I've several doubts about), I'll make decent rebase to fossil (with commit-history and review).
@flightaware I would like to know your statement also.

@resuna
Copy link
Member

resuna commented Jun 29, 2017 via email

@sebres
Copy link

sebres commented Jun 30, 2017

I've extended test-cases a bit, and have provided a performance comparison for above-mentioned branch, if interesting sebres/tcl#4 (comment)

@sebres
Copy link

sebres commented Jul 10, 2017

Reintegrated resp. back-ported as 8.6 based branch in sebres-8-6-event-perf-branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants