Commit 8e0c8f67 authored by Antônio Augusto Fröhlich's avatar Antônio Augusto Fröhlich
Browse files

Removing empty tests and fixing Thread attribute initialization

parent fbb52e88
......@@ -51,7 +51,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();
......@@ -67,7 +67,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();
......@@ -83,7 +83,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();
......@@ -99,7 +99,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();
......
// 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;
}
// 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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment