Skip to content

Commit

Permalink
notes on parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Aug 29, 2017
1 parent c38a1dd commit bdab887
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions man/man5/unlang.5
Expand Up @@ -170,6 +170,30 @@ as if it were listed in the named section.
.br
...
.DE
.IP parallel
This section runs subsections in parallel. Each subsection runs as a
child request, which is a clone of the parent request. Policies in
the child can update the original parent request by using "update
parent.request", or "update parent.reply".

The child requests are required because each subsection is run
simultaneously. If each subsection updated the original request, it
would be impossible to separate the state of each subsection.

The return code of the parallel section is the same as if each
subsection was run sequentially.

.DS
parallel {
.br
home_server_1
.br
home_server_2
.br
...
.br
}
.DE
.IP redundant
This section contains a simple list of modules. The first module is
called when the section is being processed. If the first module
Expand Down

0 comments on commit bdab887

Please sign in to comment.