summaryrefslogtreecommitdiff
path: root/libraries/base/Control/Concurrent/Chan.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/Control/Concurrent/Chan.hs')
-rw-r--r--libraries/base/Control/Concurrent/Chan.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/base/Control/Concurrent/Chan.hs b/libraries/base/Control/Concurrent/Chan.hs
index f5785f5a65..ed8e02bed4 100644
--- a/libraries/base/Control/Concurrent/Chan.hs
+++ b/libraries/base/Control/Concurrent/Chan.hs
@@ -14,6 +14,11 @@
--
-- Unbounded channels.
--
+-- The channels are implemented with @MVar@s and therefore inherit all the
+-- caveats that apply to @MVar@s (possibility of races, deadlocks etc). The
+-- stm (software transactional memory) library has a more robust implementation
+-- of channels called @TChan@s.
+--
-----------------------------------------------------------------------------
module Control.Concurrent.Chan