[worker] Add interface for handling blocking tasks asynchronously. Contributes to JB#32840
MCE mainloop should stay responsive at all times, but there are things like display power up/down ioctls that can block for hundreds of milliseconds. Add interface that allows such operations to be carried out asynchronously in a worker thread.
Showing with 842 additions and 0 deletions