Hello!
Currently I'm reading some documentation written by another and I'm confused. A lot of it is about the multi-threading synchronization that has been implemented in the project for which this documentation is written.
In this project this programmer implemented a few classes that control the critical sections that are being used throughout the application.
Its just a bunch of classes that keep track of which thread has what critical section and is a wrapper around the native Win32 CRITICAL_SECTION structure.
Then there's the classes ending in -Visit which are actually used in the application and will check if a critical section has been entered a thread already before it enters.
This programmer calls it the 'Acquisition design pattern', I was wondering if there is such a pattern in existence and might it be called something else then what this programmer calls it, as I cannot find the pattern under this name anywhere?
I know I haven't gone into great detail, but that's about as much detail as I can go into.