class documentation
Basic threading context manager for custom threading needs.
Provides a context manager interface for creating and managing threads. Override the run() method to define the thread's behavior.
| Method | __enter__ |
Enter the context and start the thread. |
| Method | __exit__ |
Exit the context and join the thread. |
| Method | __init__ |
Initialize the thread manager. |
| Method | run |
Execute the target method for the thread. |
| Instance Variable | _thread |
Undocumented |
overridden in
cursers.ThreadedAppEnter the context and start the thread.
| Returns | |
Self | The thread instance. |
overridden in
cursers.ThreadedAppExit the context and join the thread.
| Parameters | |
*args:object | Exception information (unused). |
overridden in
cursers.ThreadedAppInitialize the thread manager.
Creates a new thread manager instance with no active thread.
overridden in
cursers.ThreadedAppExecute the target method for the thread.
Override this method in subclasses to define the thread's behavior. This method is called automatically when the thread starts.