Public Member Functions | |
def | __init__ |
def | execute |
def | kill |
def | run |
Public Attributes | |
args | |
daemon | |
func | |
isRunning | |
kwargs | |
result |
Object that manages the threaded execution of a given function
Definition at line 56 of file post_threading.py.
def modbus.post_threading.PostThread.__init__ | ( | self, | |
func | |||
) |
Creates the thread object with the method to be called
Definition at line 59 of file post_threading.py.
def modbus.post_threading.PostThread.execute | ( | self, | |
args, | |||
kwargs | |||
) |
Store the method call arguments and start the thread, returns the thread object to the caller
Definition at line 67 of file post_threading.py.
def modbus.post_threading.PostThread.kill | ( | self | ) |
Definition at line 79 of file post_threading.py.
def modbus.post_threading.PostThread.run | ( | self | ) |
Thread execution, call the function with saved arguments, saves result and change flag at the end
Definition at line 74 of file post_threading.py.
Definition at line 67 of file post_threading.py.
Definition at line 59 of file post_threading.py.
Definition at line 59 of file post_threading.py.
Definition at line 59 of file post_threading.py.
Definition at line 67 of file post_threading.py.
Definition at line 59 of file post_threading.py.