summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/implement.h b/implement.h
index 5b30d1a..bc72b3f 100644
--- a/implement.h
+++ b/implement.h
@@ -187,10 +187,12 @@ struct pthread_spinlock_t_ {
};
struct pthread_barrier_t_ {
- LONG nCurrentBarrierHeight;
- LONG nInitialBarrierHeight;
+ unsigned int nCurrentBarrierHeight;
+ unsigned int nInitialBarrierHeight;
+ unsigned int nSerial;
+ int iStep;
pthread_mutex_t mtxExclusiveAccess;
- HANDLE eventBarrierBreeched;
+ sem_t semBarrierBreeched[2];
};
struct pthread_barrierattr_t_ {