1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-27 16:39:08 +00:00

Insert mutex at tail if it has highest ceiling.

This commit is contained in:
David Xu 2007-01-05 03:57:11 +00:00
parent da20a63dbb
commit 03779e5c2b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165791

View File

@ -710,7 +710,7 @@ _pthread_mutex_setprioceiling(pthread_mutex_t *mutex,
return (0);
}
}
TAILQ_INSERT_HEAD(&curthread->pp_mutexq, m, m_qe);
TAILQ_INSERT_TAIL(&curthread->pp_mutexq, m, m_qe);
}
}
return (0);