Searched refs:ThreadPool (Results 1 – 9 of 9) sorted by relevance
8 ThreadPool::ThreadPool(std::size_t count) { in ThreadPool() function in mbgl::ThreadPool35 ThreadPool::~ThreadPool() { in ~ThreadPool()48 void ThreadPool::schedule(std::weak_ptr<Mailbox> mailbox) { in schedule()
5 std::shared_ptr<ThreadPool> sharedThreadPool() { in sharedThreadPool()6 static std::weak_ptr<ThreadPool> weak; in sharedThreadPool()9 weak = pool = std::make_shared<ThreadPool>(4); in sharedThreadPool()
12 class ThreadPool : public Scheduler { class14 ThreadPool(std::size_t count);15 ~ThreadPool() override;
7 std::shared_ptr<ThreadPool> sharedThreadPool();
31 mbgl::ThreadPool &, QMapboxGLSettings::GLContextMode);
57 std::shared_ptr<mbgl::ThreadPool> m_threadPool;
28 mbgl::DefaultFileSource &fs, mbgl::ThreadPool &tp, QMapboxGLSettings::GLContextMode mode) in QMapboxGLMapRenderer()
66 base::ThreadPool::PostTask(FROM_HERE, kBestEffortTaskTraits,
72 struct ThreadPool // to have a thread pool with max 1 thread for geometry processing struct74 ThreadPool () in ThreadPool() function87 Q_GLOBAL_STATIC(ThreadPool, threadPool) argument