#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 | |
| LockingObjPtr (volatile T &obj, volatile FastLock &mtx) | |
| T & | operator * () |
| T * | operator-> () |
| ~LockingObjPtr () | |
| PlatformSpecific::LockingObjPtr< T >::LockingObjPtr | ( | volatile T & | obj, | |
| volatile FastLock & | mtx | |||
| ) | [inline] |
| PlatformSpecific::LockingObjPtr< T >::~LockingObjPtr | ( | ) | [inline] |
| T& PlatformSpecific::LockingObjPtr< T >::operator * | ( | ) | [inline] |
| T* PlatformSpecific::LockingObjPtr< T >::operator-> | ( | ) | [inline] |
