Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Simon Marlow <simonmar <at> microsoft.com>
Subject: patch applied (ghc): add noDuplicate#
Newsgroups: gmane.comp.lang.haskell.cvs.ghc
Date: Tuesday 6th March 2007 15:29:55 UTC (over 10 years ago)
Tue Mar  6 06:31:12 PST 2007  Simon Marlow 
  * 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
 
CD: 3ms