RE: pthread_spin_lock_t static initialization

2019-02-05 Thread Schwarz, Konrad
> -Original Message- > From: Yann Droneaud > Sent: Monday, February 4, 2019 6:11 PM > To: austin-group-l@opengroup.org > Subject: pthread_spin_lock_t static initialization > > I've recently made use of POSIX thread's spin locks and found there was no > sta

pthread_spin_lock_t static initialization

2019-02-04 Thread Yann Droneaud
Hi folks, I've recently made use of POSIX thread's spin locks and found there was no static initializer for them in the Open Group specification. Condition variables, Mutexes, Read/write locks, all have a static initializer: - pthread_cond_t PTHREAD_COND_INITIALIZER - pthread_mutex_t