Add a note about re-writing concurrency control combinators
commite5ea92f2c953634ff450338cee9a11b8555c255e
authorHarendra Kumar <harendra.kumar@gmail.com>
dateMon 2 Jul 2018, 11:28 (8 years ago)
parentcf87d11
src/Streamly/Streams/SVar.hs+2
@@ -93,6 +93,8 @@ toSVar sv m = toStreamVar sv (toStream m)
9393-- Concurrency control
9494-------------------------------------------------------------------------------
9595--
96+-- XXX need to write these in direct style otherwise they will break fusion.
97+--
9698-- | Specify the maximum number of threads that can be spawned concurrently
9799-- when using concurrent streams. This is not the grand total number of threads
98100-- but maximum threads at each point of concurrency.