Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaljain-apra committed Sep 17, 2024
1 parent e451b05 commit 94c9c0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion base/include/PipeLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class PipeLine {
void stop();
void term();
void wait_for_all(bool ignoreStatus = false);
void interrup_wait_for_all();
void interrupt_wait_for_all();
void flushAllQueues();
const char* getStatus();
};
Expand Down
10 changes: 5 additions & 5 deletions base/src/PipeLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void PipeLine::run_all_threaded()
}
if ((modules[0]->controlModule) != nullptr)
{
Module& m = *(modules[0]->controlModule);
Module& m = *(modules[0]->controlModule->get());
m.myThread = boost::thread(ref(m));
}
mPlay = true;
Expand Down Expand Up @@ -250,13 +250,13 @@ void PipeLine::wait_for_all(bool ignoreStatus)

if ((modules[0]->controlModule) != nullptr)
{
Module& m = *(modules[0]->controlModule);
Module& m = *(modules[0]->controlModule->get());
m.myThread.join();
}
}


void PipeLine::interrup_wait_for_all()
void PipeLine::interrupt_wait_for_all()
{
if (myStatus > PL_STOPPING)
{
Expand All @@ -272,7 +272,7 @@ void PipeLine::interrup_wait_for_all()

if ((modules[0]->controlModule) != nullptr)
{
Module& m = *(modules[0]->controlModule);
Module& m = *(modules[0]->controlModule->get());
m.myThread.interrupt();
}

Expand All @@ -284,7 +284,7 @@ void PipeLine::interrup_wait_for_all()

if ((modules[0]->controlModule) != nullptr)
{
Module& m = *(modules[0]->controlModule);
Module& m = *(modules[0]->controlModule->get());
m.myThread.join();
}

Expand Down

0 comments on commit 94c9c0f

Please sign in to comment.