Skip to content

Commit

Permalink
correct style
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Razoumov committed Sep 24, 2024
1 parent cadea23 commit 7b29ed4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions episodes/13-synchronization.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,11 @@ entire code.
:::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::

There are a number of methods defined for _sync_ variables. Suppose _x_ is a sync variable of a given type,
There are a number of methods defined for _sync_ variables. If `x` is a sync variable of a given type, you can
use the following functions:

```chpl
// general methods
// non-blocking methods
x.reset() //will set the state as empty and the value as the default of x's type
x.isfull() //will return true is the state of x is full, false if it is empty
Expand Down

0 comments on commit 7b29ed4

Please sign in to comment.