make thread list lock a recursive lock
authorRich Felker <dalias@aerifal.cx>
Fri, 22 Feb 2019 07:29:21 +0000 (02:29 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 22 Feb 2019 07:29:21 +0000 (02:29 -0500)
commit7865d569de7b29dd90b94b5680ec7a2a86ed27af
tree9aaf8f7eea813788d5236c2730e7fdce598ac1a5
parent609dd57c4e32d68433a062a7ad8004ace90baf06
make thread list lock a recursive lock

this is a prerequisite for factoring the membarrier fallback code into
a function that can be called from a context with the thread list
already locked or independently.
src/thread/pthread_create.c