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
EPOS Developers
EPOS
Commits
b2b1f6dc
Commit
b2b1f6dc
authored
May 31, 2013
by
Antônio Augusto Fröhlich
Browse files
Removing empty tests and fixing Thread attribute initialization
parent
7a814309
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
38 deletions
+4
-38
include/thread.h
include/thread.h
+4
-4
src/mach/pc/display_test.cc
src/mach/pc/display_test.cc
+0
-17
src/mach/pc/ic_test.cc
src/mach/pc/ic_test.cc
+0
-17
No files found.
include/thread.h
View file @
b2b1f6dc
...
...
@@ -54,7 +54,7 @@ public:
const
State
&
state
=
READY
,
const
Priority
&
priority
=
NORMAL
,
unsigned
int
stack_size
=
STACK_SIZE
)
:
_state
(
state
),
_link
(
this
,
priority
)
:
_state
(
state
),
_waiting
(
0
),
_joining
(
0
),
_link
(
this
,
priority
)
{
lock
();
...
...
@@ -70,7 +70,7 @@ public:
const
State
&
state
=
READY
,
const
Priority
&
priority
=
NORMAL
,
unsigned
int
stack_size
=
STACK_SIZE
)
:
_state
(
state
),
_link
(
this
,
priority
)
:
_state
(
state
),
_waiting
(
0
),
_joining
(
0
),
_link
(
this
,
priority
)
{
lock
();
...
...
@@ -86,7 +86,7 @@ public:
const
State
&
state
=
READY
,
const
Priority
&
priority
=
NORMAL
,
unsigned
int
stack_size
=
STACK_SIZE
)
:
_state
(
state
),
_link
(
this
,
priority
)
:
_state
(
state
),
_waiting
(
0
),
_joining
(
0
),
_link
(
this
,
priority
)
{
lock
();
...
...
@@ -102,7 +102,7 @@ public:
const
State
&
state
=
READY
,
const
Priority
&
priority
=
NORMAL
,
unsigned
int
stack_size
=
STACK_SIZE
)
:
_state
(
state
),
_link
(
this
,
priority
)
:
_state
(
state
),
_waiting
(
0
),
_joining
(
0
),
_link
(
this
,
priority
)
{
lock
();
...
...
src/mach/pc/display_test.cc
deleted
100644 → 0
View file @
7a814309
// EPOS PC Display Mediator Test Program
#include <utility/ostream.h>
#include <display.h>
__USING_SYS
int
main
()
{
OStream
cout
;
cout
<<
"PC_Display test
\n
"
;
PC_Display
display
;
return
0
;
}
src/mach/pc/ic_test.cc
deleted
100644 → 0
View file @
7a814309
// EPOS PC IC Test Program
#include <utility/ostream.h>
#include <ic.h>
__USING_SYS
int
main
()
{
OStream
cout
;
cout
<<
"PC_IC test
\n
"
;
PC_IC
ic
;
return
0
;
}
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