Lines Matching refs:MicroThread
165 class MicroThread : public Thread
197 typedef TAILQ_ENTRY(MicroThread) ThreadLink;
198 typedef TAILQ_HEAD(__ThreadSubTailq, MicroThread) SubThreadList;
202 MicroThread(ThreadType type = NORMAL);
203 ~MicroThread(){}; in ~MicroThread()
244 void SetParent(MicroThread* parent) { in SetParent()
247 MicroThread* GetParent() { in GetParent()
252 void AddSubThread(MicroThread* sub);
253 void RemoveSubThread(MicroThread* sub);
295 MicroThread* _parent;
300 typedef std::set<MicroThread*> ThreadSet;
301 typedef std::queue<MicroThread*> ThreadList;
383 MicroThread* AllocThread(void);
385 void FreeThread(MicroThread* thread);
396 typedef TAILQ_HEAD(__ThreadTailq, MicroThread) ThreadTailq;
407 MicroThread* _daemon;
408 MicroThread* _primo;
409 MicroThread* _curr_thread;
442 static MicroThread* CreateThread(ThreadStart entry, void *args, bool runable = true);
447 MicroThread *GetRootThread();
465 MicroThread* GetActiveThread(void) { in GetActiveThread()
487 void NotifyThread(MicroThread* thread);
491 void RemoveIoWait(MicroThread* thread);
493 void InsertRunable(MicroThread* thread);
495 void InsertPend(MicroThread* thread);
497 void RemovePend(MicroThread* thread);
507 MicroThread* DaemonThread(void){ in DaemonThread()
521 void SetActiveThread(MicroThread* thread) { in SetActiveThread()
531 void InsertSleep(MicroThread* thread);
533 void RemoveSleep(MicroThread* thread);
535 void InsertIoWait(MicroThread* thread);
537 void RemoveRunable(MicroThread* thread);