Always create threads in CREATED state.
Simplify the process class to have threads marked as runnable separately.
This commit is contained in:
parent
ef8eb5d993
commit
b0c2a6732b
4 changed files with 7 additions and 13 deletions
|
|
@ -25,7 +25,6 @@ class Process {
|
|||
VirtualMemory& vmm() { return vmm_; }
|
||||
|
||||
SharedPtr<Thread> CreateThread();
|
||||
void CreateThread(uint64_t entry);
|
||||
SharedPtr<Thread> GetThread(uint64_t tid);
|
||||
|
||||
SharedPtr<Capability> GetCapability(uint64_t cid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue