[INSTRM-687] investigate asyncio module to replace QThread Created: 27/Jun/19 Updated: 25/Mar/21 Resolved: 25/Mar/21 |
|
| Status: | Won't Fix |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | arnaud.lefur | Assignee: | arnaud.lefur |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | SPS | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 4 |
| Sprint: | SM1-2019 J |
| Description |
|
There is an existing routine to perform an exposure on several CU. It's using QThread to run the commands in parallel and deal with synchronisation etc ... cloomis noticed me that asyncio module has features which handle that very well and is single-threaded. it needs some investigations to see how it can fit into mhs/twisted world.
|
| Comments |
| Comment by hassan [ 04/Jul/19 ] |
|
@cloomis and @arnaud to discuss in a separate telecon to see what is needed for this task. |
| Comment by hassan [ 11/Jul/19 ] |
|
Not essential for SM1 delivery, but would be nice if possible to implement. |
| Comment by arnaud.lefur [ 25/Mar/21 ] |
|
It looks like QThread will be our final choice. |