85 /** A class acquiring a CCriticalSection at its constructor, and releasing it at destructor.
86 * It is a better idea to always use CCriticalSectionLocker, since it is more secure in the case of possible exceptions, many different exit points from a function, etc.. : it will always release the critical section at the destructor.
87 * Example:
88 * \code
89 * { // Code in this scope is protected by critical section
90 * CCriticalSectionLocker myCSLocker( &myCS );
91 * ...
92 * } // End of code protected by critical section