summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKristofer.Pettersson@naruto. <>2007-02-21 16:26:33 +0100
committerKristofer.Pettersson@naruto. <>2007-02-21 16:26:33 +0100
commit63c3819d0328a7bb7ff377dad0487388834f4a59 (patch)
tree92021f309e989adb79151a77f048c8859c21e6eb /include
parentcf553c4361591fb2b4ec3e4719043dad888463a1 (diff)
parentcd0a43f528883bd402df72ad9c4735bbb47769df (diff)
downloadmariadb-git-63c3819d0328a7bb7ff377dad0487388834f4a59.tar.gz
Merge naruto.:C:/cpp/bug25042/my50-bug25042
into naruto.:C:/cpp/mysql-5.1-maint
Diffstat (limited to 'include')
-rw-r--r--include/my_pthread.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index a3e1007bf31..725a4fbc071 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -69,7 +69,17 @@ typedef struct st_pthread_link {
typedef struct {
uint32 waiting;
- HANDLE semaphore;
+ CRITICAL_SECTION lock_waiting;
+
+ enum {
+ SIGNAL= 0,
+ BROADCAST= 1,
+ MAX_EVENTS= 2
+ } EVENTS;
+
+ HANDLE events[MAX_EVENTS];
+ HANDLE broadcast_block_event;
+
} pthread_cond_t;