Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes between Version 4 and Version 5 of Sysel


Ignore:
Timestamp:
2010-04-11T10:33:24Z (9 years ago)
Author:
Jiri Svoboda
Comment:

Fix bug in ReadBlocksParallel?

Legend:

Unmodified
Added
Removed
Modified
  • Sysel

    v4 v5  
    111111{{{
    112112fun ReadBlocksParallel(start_addr, count : int) : Block[] is
    113         var fblock : future Block[];
     113        var fblock : (future Block)[];
    114114
    115115        for i in range(0, count) do
     
    120120        -- All reads are now being executed in parallel.
    121121
    122         -- Each array element is implicitly converted from future Block[] to Block[].
     122        -- Each array element is implicitly converted from future Block to Block.
    123123        -- This blocks until all data has been received.
    124124        return fblock;