1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

Kernel: Restore thread count if thread cannot be fully created

This commit is contained in:
Tom 2020-12-31 22:45:16 -07:00 committed by Andreas Kling
parent bf9be3ec01
commit a0c91719d8
2 changed files with 13 additions and 2 deletions

View file

@ -1216,6 +1216,7 @@ private:
void donate_without_holding_big_lock(RefPtr<Thread>&, const char*);
void yield_while_not_holding_big_lock();
void update_state_for_thread(Thread::State previous_state);
void drop_thread_count(bool);
};
template<typename Callback>