X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FClosures.h;h=df3bca32f79743d9ae88abda21f3760578d2f6e4;hb=c5cd2343c5a86c8cb5349823a9699b30a269f3e8;hp=f9bfeb4dc1ff0361dfb890c911cf24997da7f2b0;hpb=6c17d627e08e03f2b107bb9ab5d9259c7739c0d6;p=ghc-hetmet.git diff --git a/ghc/includes/Closures.h b/ghc/includes/Closures.h index f9bfeb4..df3bca3 100644 --- a/ghc/includes/Closures.h +++ b/ghc/includes/Closures.h @@ -339,6 +339,11 @@ typedef struct { * - In StgTRecHeader, it might be worthwhile having separate chunks * of read-only and read-write locations. This would save a * new_value field in the read-only locations. + * + * - In StgAtomicallyFrame, we could combine the waiting bit into + * the header (maybe a different info tbl for a waiting transaction). + * This means we can specialise the code for the atomically frame + * (it immediately switches on frame->waiting anyway). */ typedef struct StgTVarWaitQueue_ {