fooo
This commit is contained in:
@@ -6,10 +6,14 @@
|
||||
typedef void (*kickoff_t)(void*);
|
||||
|
||||
void Thread::kickoff(Thread* object) {
|
||||
Guard::leave();
|
||||
//Guard::leave();
|
||||
object->action(); }
|
||||
|
||||
Thread::Thread(void* tos) { (void)tos; }
|
||||
Thread::Thread(void* tos) {
|
||||
volatile bool kill_flag;
|
||||
Context context;
|
||||
Thread* queue_link;
|
||||
}
|
||||
|
||||
void Thread::resume(Thread* next) { (void)next; }
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ class Thread {
|
||||
public:
|
||||
/*! \brief Marker for a dying thread
|
||||
*/
|
||||
volatile bool kill_flag;
|
||||
|
||||
/*! \brief Constructor
|
||||
* Initializes the context using \ref prepareContext with the given stack
|
||||
|
||||
Reference in New Issue
Block a user