summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2013-07-10 13:41:49 -0700
committerEdward Z. Yang <ezyang@mit.edu>2013-07-10 13:41:49 -0700
commit94f2057f16668204389923adc142586bf0203f07 (patch)
treedcf2b76ce709c06b9aee6287a066c6827af2f95b /docs
parentdb8d4a345ef77bc6832e9496e0ba38c8e36cadff (diff)
downloadhaskell-94f2057f16668204389923adc142586bf0203f07.tar.gz
Release note for atomicReadMVar and friends.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/7.8.1-notes.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml
index 61c5e5c57a..8e7685ef58 100644
--- a/docs/users_guide/7.8.1-notes.xml
+++ b/docs/users_guide/7.8.1-notes.xml
@@ -277,6 +277,16 @@
instances for <literal>Either a</literal> and <literal>(,) a</literal>
</para>
</listitem>
+ <listitem>
+ <para>
+ <literal>Control.Concurrent.MVar</literal> has two
+ new functions, <literal>atomicReadMVar</literal> and
+ <literal>tryAtomicReadMVar</literal>, which
+ implement <literal>readMVar</literal> that cannot be
+ affected by other threads. (XXXX we may change the implementation
+ of <literal>readMVar</literal> to use this.)
+ </para>
+ </listitem>
</itemizedlist>
</sect3>