Speaker
Dr
Carlo Baffa
(INAF - Osservatorio di Arcetri)
Description
During the initialization phase it is inconvenient to proceed over many devices in sequence. We have seen Tango community devices sometime parallelizes tasks by means of the multi-threading libraries Yat and Yat4tango. How can a yat thread signal to the main (calling) thread that something has changed, for example the status of a monitored device? Is there a kind of “event handling”? Or the main thread has to poll some attributes whose values are monitored by the yat threads?
Best practice and experiences?
Summary
Request of best practice and experiences on parallel tasks with Yat and Yat4tango.
Primary author
Dr
Carlo Baffa
(INAF - Osservatorio di Arcetri)
Co-author
Dr
Elisabetta Giani
(INAF - Osservatorio di Arcetri)