fake fake is missing
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
// Alias to simplify stuff
|
||||
typedef void (*kickoff_t)(void*);
|
||||
|
||||
void Thread::kickoff(Thread* object) { (void)object; }
|
||||
void Thread::kickoff(Thread* object) {
|
||||
Guard::leave();
|
||||
object->action(); }
|
||||
|
||||
Thread::Thread(void* tos) { (void)tos; }
|
||||
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
#include "../arch/context.h"
|
||||
#include "../object/queue.h"
|
||||
#include "../types.h"
|
||||
|
||||
#include "../interrupt/guard.h"
|
||||
/*! \brief The Thread is an object used by the scheduler.
|
||||
* \ingroup thread
|
||||
*/
|
||||
class Thread {
|
||||
protected:
|
||||
public:
|
||||
/*! \brief The thread's entry point.
|
||||
*
|
||||
* For the first activation of a thread, we need a "return address"
|
||||
|
||||
Reference in New Issue
Block a user