Mercurial > dwindows
comparison dw.h @ 239:403b07f873e1
Use a pointer for HMTX instead of a pthread_mutex_t struct.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 18 Feb 2003 20:09:04 +0000 |
parents | 13d3de3f1e83 |
children | 00d2b1bcf036 |
comparison
equal
deleted
inserted
replaced
238:13d3de3f1e83 | 239:403b07f873e1 |
---|---|
464 typedef short WORD ; | 464 typedef short WORD ; |
465 typedef unsigned char UCHAR; | 465 typedef unsigned char UCHAR; |
466 typedef char CHAR; | 466 typedef char CHAR; |
467 typedef unsigned UINT; | 467 typedef unsigned UINT; |
468 typedef int INT; | 468 typedef int INT; |
469 typedef pthread_mutex_t HMTX; | 469 typedef pthread_mutex_t *HMTX; |
470 typedef struct _dw_unix_event { | 470 typedef struct _dw_unix_event { |
471 pthread_mutex_t mutex; | 471 pthread_mutex_t mutex; |
472 pthread_cond_t event; | 472 pthread_cond_t event; |
473 pthread_t thread; | 473 pthread_t thread; |
474 int alive; | 474 int alive; |