[zion] Add a thread wait syscall
This commit is contained in:
parent
f0e8ce14a4
commit
36d82370c1
9 changed files with 45 additions and 8 deletions
|
|
@ -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_;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue