| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
- allows to wait for execution of void methods as well as non-void methods
|
|
|
|
| |
- 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
|
|
|
|
| |
- uses a different method of constructor selection that also works on Apple clang < 8.2.
|
|
|
|
|
|
|
|
|
|
| |
Not in use at the moment, was causing a compiler error on
Apple LLVM version 8.0.0 (clang-800.0.42.1).
```
src/mbgl/sprite/sprite_loader.cpp:25:11: error: call to constructor of
'Actor<mbgl::SpriteLoaderWorker>' is ambiguous
```
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
GCC complains about implicitly deleted assigment constructor
when trying to do this:
void setResourceTransform(optional<ActorRef<ResourceTransform>> transform) {
resourceTransform = transform;
}
optional<ActorRef<ResourceTransform>> resourceTransform;
|
|
|
|
|
| |
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.
|