File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ void Threading::SetCurrentThreadName(const rdcstr &name)
4444 pthread_setname_np (pthread_self (), name.c_str ());
4545}
4646
47- Threading::Semaphore* Threading::Semaphore::Create ()
47+ Threading::Semaphore * Threading::Semaphore::Create ()
4848{
4949 return new Threading::Semaphore ();
5050}
@@ -56,7 +56,7 @@ void Threading::Semaphore::Destroy()
5656
5757void Threading::Semaphore::Wake (uint32_t numToWake)
5858{
59- if (numToWake == 0 )
59+ if (numToWake == 0 )
6060 {
6161 return ;
6262 }
@@ -65,7 +65,7 @@ void Threading::Semaphore::Wake(uint32_t numToWake)
6565 m_count += numToWake;
6666 lock.unlock ();
6767
68- for (uint32_t i = 0 ; i < numToWake; ++i)
68+ for (uint32_t i = 0 ; i < numToWake; ++i)
6969 {
7070 m_condition_variable.notify_one ();
7171 }
@@ -91,4 +91,3 @@ uint32_t Threading::NumberOfCores()
9191
9292 return static_cast <uint32_t >(core_count);
9393}
94-
You can’t perform that action at this time.
0 commit comments