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

SPU: Use waitable atomics for SPU channels interface #8507

Merged
merged 3 commits into from Jul 23, 2020

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Jun 26, 2020

Another refactoring pr, use direct waitable atomics notifications on each channel instead of relying on the global thread-specific notification system.

@elad335 elad335 changed the title SPU: Use waitable atomic for SPU channels interface SPU: Use waitable atomics for SPU channels interface Jun 26, 2020
@elad335 elad335 force-pushed the spu-ch branch 2 times, most recently from 7a27266 to 287ee3e Compare July 10, 2020 18:15
@@ -1892,6 +1892,7 @@ void thread_base::initialize(void (*error_cb)(), bool(*wait_cb)(const void*))

void thread_base::notify_abort() noexcept
{
m_signal.try_inc();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably unnecessary?

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

Successfully merging this pull request may close these issues.

None yet

2 participants