Commit 30722dff 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 2e730dcb
......@@ -55,7 +55,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();
......@@ -71,7 +71,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();
......@@ -87,7 +87,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();
......@@ -103,7 +103,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