Gmane
From: Simon Marlow <simonmar <at> microsoft.com>
Subject: patch applied (ghc): add noDuplicate#
Newsgroups: gmane.comp.lang.haskell.cvs.ghc
Date: 2007-03-06 15:29:55 GMT (2 years, 17 weeks, 2 days, 19 hours and 37 minutes ago)
Tue Mar  6 06:31:12 PST 2007  Simon Marlow <simonmar <at> microsoft.com>
  * add noDuplicate#
  This primop ensures that the current computation is not being
  duplicated, by calling threadPaused().  The idea is to use it inside
  unsafePerformIO/unsafeInterleaveIO (see #986).

    M ./compiler/prelude/primops.txt.pp +5
    M ./rts/PrimOps.cmm +20