Commit cb5ee5a5 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 34e1de71
......@@ -53,7 +53,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();
......@@ -69,7 +69,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();
......@@ -85,7 +85,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();
......@@ -101,7 +101,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