/** @brief A Thread is created for each user-space thread */
class Thread {
- public:
+public:
Thread(thread_id_t tid);
Thread(thread_id_t tid, thrd_t *t, void (*func)(void *), void *a, Thread *parent, EPRecord *r);
~Thread();
Thread_free(p);
}
EPRecord * getParentRecord() {return parentrecord;}
- private:
+private:
int create_context();
/** @brief The parent Thread which created this Thread */
return id;
}
-#endif /* __THREADS_MODEL_H__ */
+#endif/* __THREADS_MODEL_H__ */