Continue the pthreads torture.

This commit is contained in:
rsc 2004-09-21 01:11:28 +00:00
parent 3d5e34e146
commit c6687d4591
25 changed files with 440 additions and 124 deletions

View file

@ -24,7 +24,6 @@ extern "C" {
#include <fmt.h>
#include <math.h>
#include <ctype.h> /* for tolower */
#include <pthread.h> /* for Locks */
/*
* OS-specific crap
@ -42,8 +41,10 @@ typedef long p9jmp_buf[sizeof(sigjmp_buf)/sizeof(long)];
# undef _NEEDUSHORT
# undef _NEEDUINT
# undef _NEEDULONG
# include <pthread.h>
# define PLAN9_PTHREADS
# endif
# if defined(__Linux26__)
# include <pthread.h>
# define PLAN9_PTHREADS 1
# endif
#endif
#if defined(__sun__)