Skip to content

Conversation

@jakubtomsu
Copy link
Contributor

I noticed Ryan is using native win32 barriers in raddebugger, so here are the bindings. It might be worth it replacing core:sync's Barrier with it? The native barrier generally spins in userspace for a while and then the kernel can efficiently wake it up once all threads are finished.

https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-entersynchronizationbarrier

And also utility macros for buffered rawinput.

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getrawinputbuffer

@Creativty
Copy link
Contributor

It would be a good idea to have a native implementation of barriers in core:sync.

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.

2 participants