1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Merge naruto.:C:/cpp/bug25042/my50-bug25042

into  naruto.:C:/cpp/mysql-5.0-maint


include/my_pthread.h:
  Auto merged
This commit is contained in:
unknown
2007-03-09 08:02:29 +01:00
2 changed files with 122 additions and 43 deletions

View File

@@ -80,11 +80,17 @@ typedef struct st_pthread_link {
typedef struct {
uint32 waiting;
#ifdef OS2
HEV semaphore;
#else
HANDLE semaphore;
#endif
CRITICAL_SECTION lock_waiting;
enum {
SIGNAL= 0,
BROADCAST= 1,
MAX_EVENTS= 2
} EVENTS;
HANDLE events[MAX_EVENTS];
HANDLE broadcast_block_event;
} pthread_cond_t;
typedef int pthread_mutexattr_t;