Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Lock taken in scheduler #38

Open
4e554c4c opened this issue May 31, 2018 · 0 comments
Open

Lock taken in scheduler #38

4e554c4c opened this issue May 31, 2018 · 0 comments
Labels

Comments

@4e554c4c
Copy link
Contributor

4e554c4c commented May 31, 2018

When a thread goes out of scope some of it's resources are cleaned up. For example the Stack is returned to the pmm. However this requires for the MemoryController lock to be taken. We should not take any locks in the scheduler. So thread cleanup should be put into a worker thread or similar.

@4e554c4c 4e554c4c added the bug label Jun 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant