This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Thread startup shouldn't block on Actor<Object> construction #9666
Labels
Core
The cross-platform C++ core, aka mbgl
The
Thread
constructor blocks until the spawned thread has constructed the object. ForDefaultFileSource
this includes creating the offline database, which could be a lengthy operation.We should modify
Thread
so that it doesn't block. This will be tricky, requiring the ability to construct anActorRef<Object>
for anObject
that might not have itself been constructed yet.The text was updated successfully, but these errors were encountered: