Skip to content

fix: make MiniSim dispatch queue concurrent#105

Merged
okwasniewski merged 1 commit intomainfrom
fix/concurrentDispatchQueue
Nov 20, 2023
Merged

fix: make MiniSim dispatch queue concurrent#105
okwasniewski merged 1 commit intomainfrom
fix/concurrentDispatchQueue

Conversation

@okwasniewski
Copy link
Owner

This PR fixes #102

Previous behaviour before refactor was using DispatchQueue.global() which is a concurrent queue. This was causing some emulators not showing as running

Explanation of Concurrent queues:

A concurrent queue allows us to execute multiple tasks at the same time. Tasks will always start in the order they’re added but they can finish in a different order as they can be executed in parallel. Tasks will run on distinct threads that are managed by the dispatch queue. The number of tasks running at the same time is variable and depends on system conditions.

@okwasniewski okwasniewski merged commit 2a991ce into main Nov 20, 2023
@okwasniewski okwasniewski deleted the fix/concurrentDispatchQueue branch November 20, 2023 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with Pixel 7 Emulator

1 participant