[commit: ghc] master: Release note for atomicReadMVar and friends. (94f2057)

Edward Z. Yang ezyang at MIT.EDU
Thu Jul 11 02:07:53 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/94f2057f16668204389923adc142586bf0203f07

>---------------------------------------------------------------

commit 94f2057f16668204389923adc142586bf0203f07
Author: Edward Z. Yang <ezyang at mit.edu>
Date:   Wed Jul 10 13:41:49 2013 -0700

    Release note for atomicReadMVar and friends.
    
    Signed-off-by: Edward Z. Yang <ezyang at mit.edu>

>---------------------------------------------------------------

 docs/users_guide/7.8.1-notes.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml
index 61c5e5c..8e7685e 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>
 





More information about the ghc-commits mailing list