Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
a6c77475
Commit
a6c77475
authored
Jan 18, 2010
by
Sebastian Eichelbaum
Browse files
[STYLE]
parent
e058294f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
src/kernel/WBatchLoader.cpp
src/kernel/WBatchLoader.cpp
+2
-1
src/kernel/WBatchLoader.h
src/kernel/WBatchLoader.h
+4
-1
src/kernel/WModuleContainer.cpp
src/kernel/WModuleContainer.cpp
+3
-1
src/kernel/WModuleContainer.h
src/kernel/WModuleContainer.h
+1
-0
No files found.
src/kernel/WBatchLoader.cpp
View file @
a6c77475
...
...
@@ -22,7 +22,8 @@
//
//---------------------------------------------------------------------------
#include <iostream>
#include <string>
#include <vector>
#include "WModuleContainer.h"
#include "WModule.h"
...
...
src/kernel/WBatchLoader.h
View file @
a6c77475
...
...
@@ -24,7 +24,10 @@
#ifndef WBATCHLOADER_H
#define WBATCHLOADER_H
#include <iostream>
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>
#include "../common/WThreadedRunner.h"
...
...
src/kernel/WModuleContainer.cpp
View file @
a6c77475
...
...
@@ -24,6 +24,7 @@
#include <list>
#include <set>
#include <vector>
#include <string>
#include <sstream>
...
...
@@ -148,7 +149,8 @@ void WModuleContainer::stop()
// read lock
boost
::
shared_lock
<
boost
::
shared_mutex
>
slock
=
boost
::
shared_lock
<
boost
::
shared_mutex
>
(
m_pendingThreadsLock
);
for
(
std
::
set
<
boost
::
shared_ptr
<
WThreadedRunner
>
>::
iterator
listIter
=
m_pendingThreads
.
begin
();
listIter
!=
m_pendingThreads
.
end
();
++
listIter
)
for
(
std
::
set
<
boost
::
shared_ptr
<
WThreadedRunner
>
>::
iterator
listIter
=
m_pendingThreads
.
begin
();
listIter
!=
m_pendingThreads
.
end
();
++
listIter
)
{
(
*
listIter
)
->
wait
(
true
);
}
...
...
src/kernel/WModuleContainer.h
View file @
a6c77475
...
...
@@ -27,6 +27,7 @@
#include <list>
#include <set>
#include <vector>
#include <string>
#include <boost/shared_ptr.hpp>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment