mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Versioning: Add the JUCE version number to any internally created threads
This commit is contained in:
parent
0e608f77fa
commit
6c2d149ef3
25 changed files with 27 additions and 27 deletions
|
|
@ -259,7 +259,7 @@ private:
|
|||
{
|
||||
ReceiverThread (const String& pName, bool shouldCreatePipe,
|
||||
WaitableEvent& completed)
|
||||
: NamedPipeThread ("NamePipeSender", pName, shouldCreatePipe, completed)
|
||||
: NamedPipeThread ("NamePipeReceiver", pName, shouldCreatePipe, completed)
|
||||
{}
|
||||
|
||||
~ReceiverThread() override
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ struct FallbackDownloadTask final : public URL::DownloadTask,
|
|||
size_t bufferSizeToUse,
|
||||
std::unique_ptr<WebInputStream> streamToUse,
|
||||
URL::DownloadTask::Listener* listenerToUse)
|
||||
: Thread ("DownloadTask thread"),
|
||||
: Thread (SystemStats::getJUCEVersion() + ": DownloadTask thread"),
|
||||
fileStream (std::move (outputStreamToUse)),
|
||||
stream (std::move (streamToUse)),
|
||||
bufferSize (bufferSizeToUse),
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ void Thread::notify() const
|
|||
//==============================================================================
|
||||
struct LambdaThread final : public Thread
|
||||
{
|
||||
LambdaThread (std::function<void()>&& f) : Thread ("anonymous"), fn (std::move (f)) {}
|
||||
LambdaThread (std::function<void()>&& f) : Thread (SystemStats::getJUCEVersion() + ": anonymous"), fn (std::move (f)) {}
|
||||
|
||||
void run() override
|
||||
{
|
||||
|
|
@ -496,7 +496,7 @@ class ThreadLocalValueUnitTest final : public UnitTest,
|
|||
public:
|
||||
ThreadLocalValueUnitTest()
|
||||
: UnitTest ("ThreadLocalValue", UnitTestCategories::threads),
|
||||
Thread ("ThreadLocalValue Thread")
|
||||
Thread (SystemStats::getJUCEVersion() + ": ThreadLocalValue Thread")
|
||||
{}
|
||||
|
||||
void runTest() override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue