Browse Source

Changed Mutex in BasicRing to be static

pull/7/head
Evgeny Gagua 10 months ago
parent
commit
c66b00a002
  1. 2
      lib/components/base/basicRing.h

2
lib/components/base/basicRing.h

@ -255,7 +255,7 @@ template <class T> T *basicRing<T>::fetch( U32 id ){
if( cursor->id == id ) { if( cursor->id == id ) {
m_pAccessMutex.unlock(); m_pAccessMutex.unlock();
return cursor->data; return cursor->data;
}
};
cursor = cursor->next; cursor = cursor->next;
}; };
m_pAccessMutex.unlock(); m_pAccessMutex.unlock();

Loading…
Cancel
Save