You have requested a machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Neither SPIE nor the owners and publishers of the content make, and they explicitly disclaim, any express or implied representations or warranties of any kind, including, without limitation, representations and warranties as to the functionality of the translation feature or the accuracy or completeness of the translations.
Translations are not retained in our system. Your use of this feature and the translations is subject to all use restrictions contained in the Terms and Conditions of Use of the SPIE website.
19 July 2010Progress in cancellable multi-threaded control software
The AAO's DRAMA data acquisition environment provides a very successful flexible model for instrument control tasks
based on the concept of named 'actions'. A task can execute a number of these actions simultaneously, and - something
we have found to be of paramount importance in control systems - they can be cancelled cleanly if necessary. However,
this flexibility has been achieved by use of what is essentially a collaborative multi-threading system, each action
running in short 'stages' in a single-threaded task. The original DRAMA design pre-dated the general availability of
multi-threading systems, but until now we have been reluctant to move to a multi-threading model because of the
difficulties associated with attempting to cleanly cancel a thread stuck in a blocking operation. We now believe we have
an acceptable solution to this problem, and are modifying the internals of DRAMA to produce an approach - compatible
with the existing system - that will allow individual actions to execute in separate threads. It will be able to carry out
dialogues with hardware in a much simpler manner than has been allowed so far, and this should simplify the coding of
DRAMA tasks enormously.
The alert did not successfully save. Please try again later.
K. Shortridge, T. J. Farrell, "Progress in cancellable multi-threaded control software," Proc. SPIE 7740, Software and Cyberinfrastructure for Astronomy, 774029 (19 July 2010); https://doi.org/10.1117/12.856217