Wrapper class of threading.Thread for pluginfw If we need use multi-threads in plugin, we need copy the context to new thread.
More...
|
def | __init__ (self, group=None, target=None, name=None, args=(), kwargs=None, daemon=None) |
|
def | run (self) |
|
Wrapper class of threading.Thread for pluginfw If we need use multi-threads in plugin, we need copy the context to new thread.
this class is Automation do this operations.
param is same to threading.Thread
- See also
- GetAPIContext
-
threading.Thread,:https://docs.python.org/3/library/threading.html
◆ __init__()
def netbrain.sysapi.pluginfw.Thread.__init__ |
( |
|
self, |
|
|
|
group = None , |
|
|
|
target = None , |
|
|
|
name = None , |
|
|
|
args = () , |
|
|
|
kwargs = None , |
|
|
|
daemon = None |
|
) |
| |
◆ run()
def netbrain.sysapi.pluginfw.Thread.run |
( |
|
self | ) |
|
◆ context
netbrain.sysapi.pluginfw.Thread.context |
The documentation for this class was generated from the following file:
- C:/Git-code/ng.patchs/Backend/resource/nb_python/netbrain/sysapi/pluginfw.py