GNUnet 0.22.0
terminate Namespace Reference

Data Structures

class  dummyobj
 

Functions

def safe_terminate_process_by_pid (pid, code)
 
def safe_terminate_process (proc, code)
 

Function Documentation

◆ safe_terminate_process_by_pid()

def terminate.safe_terminate_process_by_pid (   pid,
  code 
)

Definition at line 33 of file terminate.py.

34 # XXX (F821): Undefined name 'SIGKILL'
35 return os.kill(int(pid), SIGKILL)
36
37
def safe_terminate_process_by_pid(pid, code)
Definition: terminate.py:33

Referenced by gnunet_janitor.main().

Here is the caller graph for this function:

◆ safe_terminate_process()

def terminate.safe_terminate_process (   proc,
  code 
)

Definition at line 38 of file terminate.py.

38def safe_terminate_process(proc, code):
39 return proc.kill()
def safe_terminate_process(proc, code)
Definition: terminate.py:38