[wp-hackers] WP cron and "multi-threading"

Robert Deaton false.hopes at gmail.com
Mon Oct 9 04:14:24 GMT 2006


On 10/9/06, Owen Winkler <ringmaster at midnightcircus.com> wrote:
> Mark Jaquith wrote:
> > You need to expire the "cron_is_running" option, in case your winning
> > race candidate dies before it gets to unset it.

No, if it loses the race condition, something else has overwritten it.
The other thread that won the race condition will clean it up when its
finished.

> So has someone implemented all this already, or what?  I don't want to
> waste days testing cron anomalies if someone's already got the code
> written.  Pony up.

I don't have it, but I will write it after school today if someone
hasn't beat me to it or claimed their stake.

-- 
--Robert Deaton


More information about the wp-hackers mailing list