| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
- Adds a way to set the current scheduler on the thread to be used whenever a mailbox is created that needs to reply on this thread
|
|
|
|
|
| |
They will be needed by the DefaultFileSource, something that we
also export as public.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise, an ActorRef that's in the process of sending a message could attempt to access an invalid Scheduler reference:
Thread 1 Thread 2
--------------------------------------------------
Scheduler::Scheduler
Actor::Actor
weakMailbox.lock()
Actor::~Actor
Scheduler::~Scheduler
mailbox->push()
scheduler.schedule() 💣
|
|
|
|
| |
Map constructor takes Scheduler&, and consumers are expected to define an implementation. Therefore the interface must be public.
|
| |
|
|
|
|
|
|
|
| |
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
|
| |
|
| |
|
|
|