summaryrefslogtreecommitdiff
path: root/BUGS
diff options
context:
space:
mode:
authorrpj <rpj>2006-04-01 03:36:27 +0000
committerrpj <rpj>2006-04-01 03:36:27 +0000
commit6ed2db7ef01af84cec99eff2908ce8ad7145253a (patch)
tree2163dfb21a58a8654f1c593dc577f5624f2910b0 /BUGS
parent173a8b65ee3d51a9fbcbe1eb75c365155c15b281 (diff)
''
Diffstat (limited to 'BUGS')
-rw-r--r--BUGS12
1 files changed, 12 insertions, 0 deletions
diff --git a/BUGS b/BUGS
index a3fb2a3..bed6faf 100644
--- a/BUGS
+++ b/BUGS
@@ -114,3 +114,15 @@ Known bugs
3. The Borland Builder 5.5 version of the library produces memory read exceptions
in some tests.
+
+4. pthread_barrier_wait() can deadlock if the number of potential calling
+threads for a particular barrier is greater than the barrier count parameter
+given to pthread_barrier_init() for that barrier.
+
+This is due to the very lightweight implementation of pthread-win32 barriers.
+To cope with more than "count" possible waiters, barriers must effectively
+implement all the same safeguards as condition variables, making them much
+"heavier" than at present.
+
+The workaround is to ensure that no more than "count" threads attempt to wait
+at the barrier.