mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
Kernel: Rename Thread::clone() => try_clone() and propagate errors
This commit is contained in:
parent
cfc1a628d5
commit
5d5a3708c4
3 changed files with 20 additions and 18 deletions
|
@ -1101,7 +1101,7 @@ public:
|
|||
return !m_is_joinable;
|
||||
}
|
||||
|
||||
RefPtr<Thread> clone(Process&);
|
||||
KResultOr<NonnullRefPtr<Thread>> try_clone(Process&);
|
||||
|
||||
template<IteratorFunction<Thread&> Callback>
|
||||
static IterationDecision for_each_in_state(State, Callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue