[glacier] Move LinkedList to glacier.
This commit is contained in:
parent
08abe776a4
commit
64d355b20d
15 changed files with 28 additions and 46 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "syscall/thread.h"
|
||||
|
||||
#include "capability/capability.h"
|
||||
#include "debug/debug.h"
|
||||
#include "scheduler/scheduler.h"
|
||||
|
||||
glcr::ErrorCode ThreadCreate(ZThreadCreateReq* req) {
|
||||
|
|
@ -29,6 +30,7 @@ glcr::ErrorCode ThreadExit(ZThreadExitReq*) {
|
|||
auto curr_thread = gScheduler->CurrentThread();
|
||||
curr_thread->Exit();
|
||||
panic("Returned from thread exit");
|
||||
UNREACHABLE
|
||||
}
|
||||
|
||||
glcr::ErrorCode ThreadWait(ZThreadWaitReq* req) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue