]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Use exit_lock when accessing TID on pthread_setschedprio
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 9 Sep 2021 20:48:56 +0000 (17:48 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 9 Jul 2025 22:57:21 +0000 (19:57 -0300)
commit846c2b23e2f0fa1315d008927c9dd6e5946f3798
tree3cc8cc055469605e32c331496cae48ebfaa4246e
parent17d91f08573a4cf392b302790e3524b92f6057f0
nptl: Use exit_lock when accessing TID on pthread_setschedprio

Also return EINVAL if the thread is already terminated at the time
of the call.

Checked on x86_64-linux-gnu
nptl/pthread_setschedprio.c
sysdeps/pthread/tst-pthread-exited.c