drop use of pthread_once in mutexattr kernel support tests
authorRich Felker <dalias@aerifal.cx>
Tue, 29 Sep 2020 18:02:06 +0000 (14:02 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 15 Oct 2020 00:27:12 +0000 (20:27 -0400)
commit69a1b39019c51258af14c0b2d836c23d20929c9a
tree082ab5011895176fceda6854f817a4f52a541841
parentb115bee4dd7c33ec719fe2fc566d41c0e2133c85
drop use of pthread_once in mutexattr kernel support tests

this makes the code slightly smaller and eliminates these functions
from relevance to possible future changes to multithreaded fork.

the barrier of a_store isn't technically needed here, but a_store is
used anyway for internal consistency of the memory model.
src/thread/pthread_mutexattr_setprotocol.c
src/thread/pthread_mutexattr_setrobust.c