Ticket #2918 (closed Patches: fixed)
shared_mutex for win32 size optimization
|Reported by:||andysem||Owned by:||anthonyw|
The shared_mutex for win32 API contains references to the semaphore handles in the internal array. While this allows to make the implementation code cleaner, it also adds 33% of size overhead for the mutex object (8 bytes on x86, 16 bytes on x64).
Please find the attached patch that removes the references and compacts the mutex while moderately affecting the code readability.