create a class SolarMutexGuard to take a Guard on the SolarMutex
Most user of OGuard, use it to guard the SolarMutex. using something like vos::OGuard aGuard(Application::GetSolarMutex()) Which will now be written vcl::SolarMutexGuard aGuard; This will also, as a side effect remove the use of vos::Guard in many sources, simplifying the migration out of ::vos
Showing
Please
register
or
sign in
to comment