add make CONF=pthread for modern systems

This commit is contained in:
Russ Cox
2008-12-09 07:05:09 +00:00
parent 189f67ae9b
commit 4f14409f56
11 changed files with 590 additions and 3 deletions

View File

@ -121,7 +121,12 @@ extern char* utfrrune(char*, long);
typedef struct Lock
{
#ifdef PTHREAD
int init;
pthread_mutex_t mutex;
#else
long key;
#endif
} Lock;
typedef struct QLock