Actions
Patch #520
closedOFMutex very slow on Windows
Start date:
2013-04-15
Due date:
% Done:
100%
Estimated time:
Module:
ofstd
Operating System:
Compiler:
Description
See this Forum posting:
OFMutex::lock() and OFMutex::unlock is a hotspot in our application (which uses dcmtk, obviously :-) on Windows, but not on Linux. On Windows it uses a Windows mutex object, which always require a system call to lock and unlock. Have you considered using a critical section on Windows instead? It is much faster: http://preshing.com/20111124/always-use-a-lightweight-mutex
Updated by Michael Onken over 12 years ago
Patch proposal on github, see: http://forum.dcmtk.org/viewtopic.php?f=1&t=3726
Updated by Jörg Riesmeier almost 12 years ago
- Tracker changed from Feature to Patch
Updated by Marco Eichelberg over 8 years ago
- Status changed from New to Closed
- Assignee set to Marco Eichelberg
- % Done changed from 0 to 100
Implemented by commit 5fe9660.
Actions