Priority of process control methods

From: <john.aynsley@doulos.com>
Date: Fri Sep 10 2010 - 03:26:03 PDT

Bishnupriya,

If a suspended process gets a series of sync_reset_on / sync_reset_off
calls then it in effect toggles in and out of the sync reset state, even
though the effect would not be visible until the process is resumed,
right? In effect, a process has independent suspend/resume and
sync_reset_on/off flags where the suspend/resume flag takes priority.

What about suspend versus disable? If we have;

p.suspend(); // Process suspended
p.disable(); // Process disabled, takes priority over suspend
p.enable(); // ??

Is the process left in the suspended state or is the suspension lifted
when the disable is lifted? In other words, does a process keep
independent suspend and disable flags?

Thanks,

John A

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Sep 10 03:26:31 2010

This archive was generated by hypermail 2.1.8 : Fri Sep 10 2010 - 03:26:36 PDT