Andrew
2010-09-14 04:46:49 UTC
I am implementing a process that performs a very similar job to the
cron daemon. After a bit of research I find that the original cron
implementation had a performance problem. Waking up every minute and
checking the whole scheduled task list proved inefficient, compared
with sleeping until it is time to start the first job. I read
somewhere that using the ordered list was done by constructing a
Franta-Maly event list. Unfortunately I have been unable to find out
more about this structure. The ACM paper that describes it was
published back in 1977 but you still have to pay to get it. I was
hoping that documentation would be more generally available by now.
I was wondering, has anybody here heard of a Franta-Maly event list? I
wonder if it similar to the priority queue in the STL.
Regards,
Andrew Marlow
cron daemon. After a bit of research I find that the original cron
implementation had a performance problem. Waking up every minute and
checking the whole scheduled task list proved inefficient, compared
with sleeping until it is time to start the first job. I read
somewhere that using the ordered list was done by constructing a
Franta-Maly event list. Unfortunately I have been unable to find out
more about this structure. The ACM paper that describes it was
published back in 1977 but you still have to pay to get it. I was
hoping that documentation would be more generally available by now.
I was wondering, has anybody here heard of a Franta-Maly event list? I
wonder if it similar to the priority queue in the STL.
Regards,
Andrew Marlow
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]