1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/lib/libc/gdtoa/glue.c
David Schultz d086ded323 Userland spinlocks bad. Sleep locks good.
Use the latter for gdtoa.

Requested by:	deischen (far too long ago)
2003-06-21 08:20:14 +00:00

14 lines
221 B
C

/*
* Machine-independent glue to integrate David Gay's gdtoa
* package into libc.
*
* $FreeBSD$
*/
#include <pthread.h>
pthread_mutex_t __gdtoa_locks[] = {
PTHREAD_MUTEX_INITIALIZER,
PTHREAD_MUTEX_INITIALIZER
};