Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fine-grained locks in Process #49

Closed
nuta opened this issue Nov 6, 2021 · 0 comments
Closed

Fine-grained locks in Process #49

nuta opened this issue Nov 6, 2021 · 0 comments
Assignees

Comments

@nuta
Copy link
Owner

nuta commented Nov 6, 2021

Currently, a process control block is wrapped with SpinLock. It's not convenient because even if you just want to get its PID, you need to acquire the lock (proc.lock().pid())!

This issue aims to turn Arc<SpinLock<Process>> into Arc<Process>.

@nuta nuta self-assigned this Nov 6, 2021
@nuta nuta closed this as completed in 7c576c0 Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant