mirror of
https://github.com/darlinghq/darling-newlkm.git
synced 2024-12-04 10:03:32 +00:00
Forgot to unlock task in thread_deallocate_complete!
That function is a sort of paraphrase of and glued-together-mess of XNU's `thread_deallocate_complete` and `thread_terminate_queue_invoke`, and I guess I accidentally deleted the `task_unlock` part.
This commit is contained in:
parent
17628ac35e
commit
1a163b5f24
@ -506,6 +506,8 @@ static void thread_deallocate_complete(thread_t thread)
|
||||
queue_remove(&task->threads, thread, thread_t, task_threads);
|
||||
task->thread_count--;
|
||||
|
||||
task_unlock(task);
|
||||
|
||||
task_deallocate(task);
|
||||
|
||||
if (thread->linux_task != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user