1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-29 11:20:21 +01:00

Update to Chapel

A reader/writer sync example was missing a "Reader: " notem
This commit is contained in:
Ian Bertolacci 2015-08-17 14:19:41 -07:00
parent 2f73cafc70
commit 938720074b

View File

@ -960,7 +960,7 @@ proc main(){
begin { // Reader task
writeln( "Reader: waiting to read." );
var read_sync = someSyncVar$;
writeln( "value is ", read_sync );
writeln( "Reader: value is ", read_sync );
}
begin { // Writer task
@ -1100,4 +1100,4 @@ Notable arguments:
* `--fast`: enables a number of optimizations and disables array bounds checks. Should only enable when application is stable.
* `--set <Symbol Name>=<Value>`: set config param `<Symbol Name>` to `<Value>` at compile-time.
* `--main-module <Module Name>`: use the main() procedure found in the module `<Module Name>` as the executable's main.
* `--module-dir <Directory>`: includes `<Directory>` in the module search path.
* `--module-dir <Directory>`: includes `<Directory>` in the module search path.