Handout
This commit is contained in:
16
thread/thread.cc
Normal file
16
thread/thread.cc
Normal file
@@ -0,0 +1,16 @@
|
||||
// vim: set noet ts=4 sw=4:
|
||||
|
||||
#include "thread.h"
|
||||
|
||||
// Alias to simplify stuff
|
||||
typedef void (*kickoff_t)(void*);
|
||||
|
||||
void Thread::kickoff(Thread* object) { (void)object; }
|
||||
|
||||
Thread::Thread(void* tos) { (void)tos; }
|
||||
|
||||
void Thread::resume(Thread* next) { (void)next; }
|
||||
|
||||
void Thread::go() {}
|
||||
|
||||
void Thread::action() {}
|
||||
Reference in New Issue
Block a user