Add TODO for S1-1767 (lock order reversal)

This commit is contained in:
Nick Bolton 2024-07-29 23:46:49 +01:00
parent 472cb05f06
commit f9b93210ed

View file

@ -287,6 +287,8 @@ void ArchMultithreadPosix::lockMutex(ArchMutex mutex) {
}
void ArchMultithreadPosix::unlockMutex(ArchMutex mutex) {
// TODO: S1-1767, we should use raii c++17 mutex instead of archaeic pthread
// to solve possible lock order reversal.
int status = pthread_mutex_unlock(&mutex->m_mutex);
switch (status) {