On 11.06.2015 16:30, Alexander Klenin wrote:
On Wed, Jun 10, 2015 at 8:48 AM, Denis Rotanov <denis@xxxxxxxxxxx> wrote:I read about similar use case as ours here http://www.codecup.nl/faq.php they're guaranteeing suspended status of a process at certain times. And I planned to include such to our protocol too. If I do so this code will become "protocol code" too.
I came up with an idea of suspending the process if it's not being waitedInteresting, I have just read about this the other day:
for by controller. And to start all the normal processes suspended by
default until controller issues a wait request. This will be done by calling
SuspendThread for each thread of a process. What do you think?
https://github.com/ryanries/UniversalPauseButton
Worth investigating, but need to be optional at least initially.
If you do that, please do not mix up pull requests again -- send other
protocol code first.