mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-12 17:54:26 +02:00
Update to Chapel
A reader/writer sync example was missing a "Reader: " notem
This commit is contained in:
@@ -960,7 +960,7 @@ proc main(){
|
|||||||
begin { // Reader task
|
begin { // Reader task
|
||||||
writeln( "Reader: waiting to read." );
|
writeln( "Reader: waiting to read." );
|
||||||
var read_sync = someSyncVar$;
|
var read_sync = someSyncVar$;
|
||||||
writeln( "value is ", read_sync );
|
writeln( "Reader: value is ", read_sync );
|
||||||
}
|
}
|
||||||
|
|
||||||
begin { // Writer task
|
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.
|
* `--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.
|
* `--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.
|
* `--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.
|
||||||
|
Reference in New Issue
Block a user