Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ffulin committed Aug 19, 2023
1 parent 147c5ff commit 1b39350
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
9 changes: 0 additions & 9 deletions Code/Tools/FBuild/FBuildCore/Protocol/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -613,15 +613,6 @@ void Server::FindNeedyClients()
}

PROFILE_FUNCTION;

// determine job availability
int32_t availableJobs = (int32_t)WorkerThreadRemote::GetNumCPUsToUse();
if ( availableJobs == 0 )
{
return;
}
++availableJobs; // over request to parallelize building/network transfers


// determine job availability
int32_t availableJobs = (int32_t)WorkerThreadRemote::GetNumCPUsToUse();
Expand Down
1 change: 0 additions & 1 deletion Code/Tools/FBuild/FBuildCore/WorkerPool/WorkerThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ void WorkerThread::Init( ThreadPool * pool )
WorkerThread::~WorkerThread()
{
ASSERT( m_Exited.Load() );
m_Thread.Join();
}

// InitTmpDir
Expand Down
2 changes: 0 additions & 2 deletions Code/Tools/FBuild/FBuildCore/WorkerPool/WorkerThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "Core/Process/Atomic.h"
#include "Core/Process/Mutex.h"
#include "Core/Process/Semaphore.h"
#include "Core/Process/Thread.h"
#include "Core/Strings/AStackString.h"
#include "Core/Strings/AString.h"

Expand Down Expand Up @@ -51,7 +50,6 @@ class WorkerThread
virtual void Main();

// signal to exit thread
Thread m_Thread;
Atomic<bool> m_ShouldExit;
Atomic<bool> m_Exited;
uint16_t m_ThreadIndex;
Expand Down

0 comments on commit 1b39350

Please sign in to comment.