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

Kernel sync primitive/thread refactor #231

Merged
merged 2 commits into from May 9, 2018

Conversation

VelocityRa
Copy link
Member

@VelocityRa VelocityRa commented May 8, 2018

Just some much needed refactoring on sync primitives.

  • Move threading stuff to their own directory
  • Move sync primitives to thread directory
  • Pass an enum instead of a bool to denote lw-ness
  • Pass KernelState instead of HostState
  • Resolve host mutexes list based on lw-ness enum instead of explicitly passing it in

@VelocityRa VelocityRa added threads Related to threading kernel Relatead to the kernel/OS labels May 8, 2018
frangarcj
frangarcj previously approved these changes May 9, 2018
- Also refactor argument passing in sync primitive functions:
  - Pass an enum instead of a bool to denote lw-ness
  - Pass KernelState instead of HostState
  - Resolve host mutexes list based on lw-ness enum instead of explicitly passing it in
@VelocityRa VelocityRa merged commit 43f0ba3 into Vita3K:master May 9, 2018
@VelocityRa VelocityRa deleted the kernel-refactor branch May 9, 2018 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Relatead to the kernel/OS threads Related to threading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants