-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
bugSomething isn't workingSomething isn't workingcategory: foundationContainers, math, network implementation, threading and synchronisation, etcContainers, math, network implementation, threading and synchronisation, etc
Description
Currently, the RW locks might not work recursively for some platforms. For example, The SRWLOCK in Win32 doesn't allow for reentrant acquiring of the lock even if on the same thread, and will cause a deadlock.
This should be implemented for all platforms.
One suggested method is to use thread local counters and only perform the lock and unlock when the counter is 0, but always increment the counter.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcategory: foundationContainers, math, network implementation, threading and synchronisation, etcContainers, math, network implementation, threading and synchronisation, etc