Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] Use weak scheduler inside mailbox #16136

Merged
merged 3 commits into from
Jan 23, 2020

Conversation

alexshalamov
Copy link
Contributor

@alexshalamov alexshalamov commented Jan 22, 2020

If there are pending requests that are completed after main scheduler is destructed, worker threads may try to push messages to destructed scheduler's queue.

This PR also moves main resource loader to dedicated thread with own scheduler.

@alexshalamov alexshalamov force-pushed the alexshalamov_weak_scheduler_mailbox branch from fff3810 to 55f4532 Compare January 22, 2020 16:59
@alexshalamov alexshalamov marked this pull request as ready for review January 23, 2020 08:19
@alexshalamov alexshalamov merged commit 9e1bcc4 into master Jan 23, 2020
@alexshalamov alexshalamov deleted the alexshalamov_weak_scheduler_mailbox branch January 23, 2020 09:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants