[zion] Add a thread wait syscall

This commit is contained in:
Drew Galbraith 2023-06-22 02:17:50 -07:00
parent f0e8ce14a4
commit 36d82370c1
9 changed files with 45 additions and 8 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include <glacier/status/error.h>
#include <stdint.h>
class Thread {
@ -9,6 +10,8 @@ class Thread {
Thread() : thread_cap_(0) {}
Thread(Entry e, const void* arg1);
[[nodiscard]] glcr::ErrorCode Join();
private:
uint64_t thread_cap_;
};