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

Use actors instead of explicit threads in (Default)FileSource #9100

Closed
wants to merge 5 commits into from

Conversation

ivovandongen
Copy link
Contributor

In order to make DefaultFileSource safe to share between threads, we need to make changes to how it handles state / communication with other FileSources, etc. This will enable us to share the DefaultFileSource between main and render/orchestration thread (#8820)

Also means changing other parts over to not use the (default) RunLoop anymore for mailbox handling:

  • SpriteLoader(::Loader)
  • ...

@ivovandongen ivovandongen added Core The cross-platform C++ core, aka mbgl ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold labels May 24, 2017
@ivovandongen ivovandongen self-assigned this May 24, 2017
@ivovandongen ivovandongen force-pushed the default-filesource-actor branch 4 times, most recently from e752d9f to 4dda61c Compare May 25, 2017 07:14
@jfirebaugh jfirebaugh deleted the default-filesource-actor branch July 11, 2017 17:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants