drop use of pthread_once in timer_create
authorRich Felker <dalias@aerifal.cx>
Wed, 14 Oct 2020 23:07:27 +0000 (19:07 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 15 Oct 2020 00:27:12 +0000 (20:27 -0400)
commit85e16aec51c343f64601b70a6081def69b9f87bc
treed802c54aba2c459c46dd1eba4f5d8e78d3c5fcd8
parent6ae2568bc2367b4d47e0ea1cb043fd56e697912f
drop use of pthread_once in timer_create

this makes the code slightly smaller and eliminates timer_create 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/time/timer_create.c