#include <Platform.hpp>
This object however doesn't ensure any deadlock protection, so the only way to avoid deadlock is to lock the object is the same order in all threads.
Public Member Functions | |
LockingPtr (volatile T &obj, FastLock &mtx) | |
T & | operator * () |
T * | operator-> () |
~LockingPtr () |
PlatformSpecific::LockingPtr< T >::LockingPtr | ( | volatile T & | obj, | |
FastLock & | mtx | |||
) | [inline] |
PlatformSpecific::LockingPtr< T >::~LockingPtr | ( | ) | [inline] |
T& PlatformSpecific::LockingPtr< T >::operator * | ( | ) | [inline] |
T* PlatformSpecific::LockingPtr< T >::operator-> | ( | ) | [inline] |