Currently NicosiaPaintingEngineThreaded uses glib directly for a thread pool implementation.
There's existing ThreadPool implementation in WTF, but it has to be pulled out of WorkQueue and into a standalone header if it's to be used.
(In reply to Zan Dobersek from comment #1) > There's existing ThreadPool implementation in WTF, but it has to be pulled > out of WorkQueue and into a standalone header if it's to be used. I have a patch for the thread pool. https://bugs.webkit.org/show_bug.cgi?id=174569
Now, NicosiaPaintingEngineThreaded becomes cross-platform by replacing glib thread pool with WTF::WorkerPool. *** This bug has been marked as a duplicate of bug 174569 ***