summaryrefslogtreecommitdiff
path: root/BUGS
diff options
context:
space:
mode:
authorrpj <rpj>2006-04-01 03:34:38 +0000
committerrpj <rpj>2006-04-01 03:34:38 +0000
commitb87925b8c0489002e890fa97e69e55cb8be24523 (patch)
tree6c1455b198317676b8c479f2099ae7e6d9022576 /BUGS
parent205f28fa88668e1ed699560219d543ae82b3d523 (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.