-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/10/13 11:24 AM, Andrej N. Gritsenko wrote: > > > In fact, auto-restart might be needed only if some component crashes. > And also in fact, in many cases this does not work at all, because when > that happens, the possibility that conditions for the crash still present > is high so it crashes again and again. I'm not sure if auto-restart have > to be there at all.
I created something like "crashing counter" in Razor's session. It worked very simple: when registered app [1] failed the map<app,counter> for app was increased. When it reached a "threshold" the message "app foo crashed too many times - it won't be autostarted anymore in this session". The counter was reset after some time too. [1] - usually the Razor core component only, no user apps at all. p. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSf40MAAoJEC8yRjM4uE2tGpwH/04t6w8EMsIVKjyYohb9OLFH U9HReH4b3YEr/Dt7zdng5PINR7kZ5aC2R/gQlrUtRY3OoTNhpjpIUAzbC0tP62ou 0a5ilTSOeYGHxjQmnEEy6E0IULX4ry3o3sTdMXgeidWsW1VPis6B2CAo4Zj9K6Wj roq7Jvf7w7zOyPVTgCMQGu+LgczWWBQ1EQGZCxWlS5ixjS4ZnxSJCFePzFCFruOn kriOhM2CLpThl4Q58In5PReBA+piniClre/52zCHYZPxS72qQ1vts9FxVrwma1T7 8J8b4spRLJIfbeXD+CPyEtEkVo0MiYg+MOh0bC5VAUuLYcKr3Mqoq8TCrnVVzKQ= =RjtJ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list