Esempio n. 1
0
 def wait(self, timeout=None):
     try:
         return _psposix.wait_pid(self.pid, timeout)
     except _psposix.TimeoutExpired:
         # support for private module import
         if TimeoutExpired is None:
             raise
         raise TimeoutExpired(timeout, self.pid, self._name)
Esempio n. 2
0
 def wait(self, timeout=None):
     try:
         return _psposix.wait_pid(self.pid, timeout)
     except _psposix.TimeoutExpired:
         # support for private module import
         if TimeoutExpired is None:
             raise
         raise TimeoutExpired(timeout, self.pid, self._name)
Esempio n. 3
0
 def process_wait(self, timeout=None):
     try:
         return _psposix.wait_pid(self.pid, timeout)
     except TimeoutExpired:
         raise TimeoutExpired(self.pid, self._process_name)
Esempio n. 4
0
 def process_wait(self, timeout=None):
     try:
         return _psposix.wait_pid(self.pid, timeout)
     except TimeoutExpired:
         raise TimeoutExpired(self.pid, self._process_name)