Skip to content

Improve asynchronous operations / Use observer pattern #219

@Avasam

Description

@Avasam

Don't compare images in the main thread.
Leverage callback API with timespan for capture methods that have 'em, rather than constantly poking at set interval.

Consider multithreading for CPU-intensive parallel operations.
Consider moving threads to asyncio to reduce potential cross-threads issues that forces us to use signals.
Actually make better use of Qt's slot/signals system and/or move to an observable system to share events like "new frame ready".

Add global error-catching for async code (right now exceptions raised in threads are lost unless we explicitly catch them)


Moved from Avasam#36

Metadata

Metadata

Assignees

Labels

enhancementNew feature or enhancement requesthelp wantedExtra attention is neededoptimizationOptimization of existing features

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions