Changes between Version 2 and Version 3 of Chapel
- Timestamp:
- 11/02/11 16:17:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Chapel
v2 v3 18 18 * array 19 19 * sync 20 21 Have hidden state, empty or full. Read blocks on empty, write blocks on full (Has other methods, writeXX(), readXX() etc.) 22 20 23 * single 24 25 Write once, reads block until written to (Error condition if written to more than once) 26 21 27 == Statements == 28 * sync <statement> 29 30 Wait for all tasks created in the statement to complete 31 32 * serial <expression> <statement> 33 34 If expression is true, serializes all code in statement 35 36 * atomic <statement> 37 38 A transaction 39 22 40 * for 23 41 * forall 42 43 Like coforall, but iterations distributed among tasks in any way, including, possibly, one task 44 24 45 * coforall 46 47 Assign one task to each iteration, wait for all iterations to complete 48 25 49 * begin 50 51 Launch task to execute statement, proceed without blocking 52 26 53 * cobegin 54 55 Assign one task to each statement, wait for all to complete 56 27 57 * call 28 58 * assignment
