mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Kernel: Don't disable interrupts while exiting a thread or process
This was another vestige from a long time ago, when exiting a thread would mutate global data structures that were only protected by the interrupt flag.
This commit is contained in:
parent
8eeb8db2ed
commit
4aa58aaab5
3 changed files with 0 additions and 4 deletions
|
@ -31,8 +31,6 @@ namespace Kernel {
|
|||
|
||||
void Process::sys$exit(int status)
|
||||
{
|
||||
cli();
|
||||
|
||||
m_termination_status = status;
|
||||
m_termination_signal = 0;
|
||||
die();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue