* lib/pthread.in.h (pthread_spin_destroy): New function.
+2010-09-20 Paul Eggert <eggert@cs.ucla.edu>
+
+ pthread: add pthread_spin_destroy
+ * lib/pthread.in.h (pthread_spin_destroy): New function.
+
2010-09-19 Bruno Haible <bruno@clisp.org>
gnulib-tool: Fix --help output.
}
static inline int
+pthread_spin_destroy (pthread_spinlock_t *lock)
+{
+ /* LOCK is never seriously used. */
+ return 0;
+}
+
+static inline int
pthread_spin_lock (pthread_spinlock_t *lock)
{
/* Only one thread, so it always gets the lock. */