On Thu, 2008-06-19 at 01:24 +0200, Matthias Urlichs wrote:
> Scott James Remnant:
> > pid = instance.Get("pid")["main"]
> >
> > # Muck around with pid as you see fit
> > if os.path.isfile("/tmp/%d" % pid):
> > return
> >
> > # Oh dear, it's broken
> > instance.Restart()
>
> Nice race condition there. :-P
>
What's the race?Scott -- Have you ever, ever felt like this? Had strange things happen? Are you going round the twist?
signature.asc
Description: This is a digitally signed message part
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
