Trees | Indices | Help |
|
---|
|
object --+ | Robot_Hold
Context manager, for use in a Task thread, which pauses a Robot (or Robots) thread while it is entered.
>>> with robot.hold_from_task(task): ... read_something_volatile()
Used in combination with throw_in, the exception is sometimes at inconveniently times in __enter__, __call__, or __exit__. This is a possible source of freeze-ups.
In Linux, the Task thread can work with the GUI while the main thread is paused, but this technique is not compatible with the Windows thread model. Not sure about Mac OS X.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
task | |||
robot | |||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
task
|
robot
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Dec 15 19:07:38 2017 | http://epydoc.sourceforge.net |