summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <Kristofer.Pettersson@naruto.>2007-02-21 14:01:05 +0100
committerunknown <Kristofer.Pettersson@naruto.>2007-02-21 14:01:05 +0100
commitbc91e449b6ce4f19d272e84a476ab32f0ee49f9c (patch)
tree366b5abc300376cdcf3d066b0e57eddd38bf4d31 /include
parentad9cd3a5fce6b361608615e3f480bc7e7813ddbb (diff)
parent448f6003f922e0bfc7010bb2733421f76bbd8808 (diff)
downloadmariadb-git-bc91e449b6ce4f19d272e84a476ab32f0ee49f9c.tar.gz
Merge naruto.:C:/cpp/bug25042/my50-bug25042
into naruto.:C:/cpp/mysql-5.1-runtime mysys/my_wincond.c: Auto merged include/my_pthread.h: SCCS merged
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;