[core] Rename ThreadedObject to Thread

Now that the old Thread class is gone, we can give ThreadedObject
a better name.
This commit is contained in:
Thiago Marcos P. Santos
2017-06-21 13:38:49 +03:00
parent 1427628c56
commit 7e8bdadb91
16 changed files with 67 additions and 67 deletions

View File

@@ -15,7 +15,7 @@ struct ALooper;
namespace mbgl {
namespace util {
template <typename T> class ThreadedObject;
template <typename T> class Thread;
class Alarm;
class RunLoop::Impl {
@@ -53,7 +53,7 @@ private:
JNIEnv *env = nullptr;
bool detach = false;
std::unique_ptr<ThreadedObject<Alarm>> alarm;
std::unique_ptr<Thread<Alarm>> alarm;
std::recursive_mutex mtx;
std::list<Runnable*> runnables;