[GTK][WPE][Nicosia] Add name for Nicosia Painting Threads
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Jun 2018 09:00:27 +0000 (09:00 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Jun 2018 09:00:27 +0000 (09:00 +0000)
commitd7d280d76b191efad695002ed7722b86ab9e86d6
treec5a05e23c7c9903c49f475d804cda07de027633e
parentfcc0a9c59cfe3cc9a5ef59f901800cd166647db0
[GTK][WPE][Nicosia] Add name for Nicosia Painting Threads
https://bugs.webkit.org/show_bug.cgi?id=186836

Reviewed by Carlos Garcia Campos.

Source/WebCore:

Use "PaintingThread" name.

* platform/graphics/nicosia/NicosiaPaintingEngineThreaded.cpp:
(Nicosia::PaintingEngineThreaded::PaintingEngineThreaded):

Source/WTF:

AutomaticThread can take a name for the generated threads now.
This patch adds the above ability to WorkerPool.

* wtf/WorkerPool.cpp:
(WTF::WorkerPool::WorkerPool):
* wtf/WorkerPool.h:
(WTF::WorkerPool::create):
(WTF::WorkerPool::name const):

Tools:

* TestWebKitAPI/Tests/WTF/WorkerPool.cpp:
(TestWebKitAPI::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/WorkerPool.cpp
Source/WTF/wtf/WorkerPool.h
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/nicosia/NicosiaPaintingEngineThreaded.cpp
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WTF/WorkerPool.cpp