Mercurial > hg > Gears > GearsAgda
diff src/synchronizedQueue/synchronizedQueueContext.h @ 52:83ee9c75115a
Add pthread_cond_wait & pthread_cond_signal to synchronizedQueue.c
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Jun 2015 14:17:07 +0900 |
parents | 1b71266af056 |
children | 4283b87ddbf4 |
line wrap: on
line diff
--- a/src/synchronizedQueue/synchronizedQueueContext.h Mon May 25 01:53:02 2015 +0900 +++ b/src/synchronizedQueue/synchronizedQueueContext.h Tue Jun 02 14:17:07 2015 +0900 @@ -44,6 +44,7 @@ union Data* last; int count; pthread_mutex_t mutex; + pthread_cond_t cond; } queue; struct Element { int value;