Skip to content

Move from critical section to SRWLocks#117

Open
santagada wants to merge 1 commit intoluciusDXL:masterfrom
santagada:Win32_Mutex_SRWLock
Open

Move from critical section to SRWLocks#117
santagada wants to merge 1 commit intoluciusDXL:masterfrom
santagada:Win32_Mutex_SRWLock

Conversation

@santagada
Copy link

SRWLocks are smaller (8b vs 40b for critical section) and faster to lock/unlock

SRWLocks are smaller (8b vs 40b for critical section) and faster to lock/unlock
@luciusDXL
Copy link
Owner

Thanks for the PR. I will test it once some synchronization cleanup is done in the audio systems.

@santagada
Copy link
Author

yeah I was trying to use these mutexes in that part of the code (right now it is just using some macros that also use critical sections internally) but didn't finish it.

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