|
@@ -103,21 +103,6 @@ debug_is_locked() const {
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-////////////////////////////////////////////////////////////////////
|
|
|
|
|
-// Function: MutexDirect::debug_is_locked
|
|
|
|
|
-// Access: Published
|
|
|
|
|
-// Description: Returns true if the current thread has locked the
|
|
|
|
|
-// Mutex, false otherwise. This method is only intended
|
|
|
|
|
-// for use in debugging, hence the method name; in the
|
|
|
|
|
-// MutexDirect case, it always returns true, since
|
|
|
|
|
-// there's not a reliable way to determine this
|
|
|
|
|
-// otherwise.
|
|
|
|
|
-////////////////////////////////////////////////////////////////////
|
|
|
|
|
-INLINE bool MutexDirect::
|
|
|
|
|
-debug_is_locked() const {
|
|
|
|
|
- return true;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: MutexDirect::set_name
|
|
// Function: MutexDirect::set_name
|
|
|
// Access: Public
|
|
// Access: Public
|