Skip to content

Commit

Permalink
Merge pull request #486 from Don-Ward/spawn-doc
Browse files Browse the repository at this point in the history
Document the fourth parameter of spawn() in the language reference
  • Loading branch information
Jafaral authored Nov 8, 2024
2 parents a543033 + f65ccd2 commit 87d5de3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/book/langref.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3332,14 +3332,14 @@ \subsection*{Built-in functions}
\bigskip\hrule\vspace{0.1cm}
\index{spawn}
\noindent
{\bf spawn(CE, i, i) : thread } \hfill {\bf launch asynchronous thread}
{\bf spawn(CE, i, i, i) : thread } \hfill {\bf launch asynchronous thread}

\noindent
\index{spawn()}\texttt{spawn(ce)} launches co-expression \texttt{ce} as an
asynchronous thread that will execute concurrently with the current
co-expression. The two optional integers specify the memory in bytes
allocated for the thread's block and string regions. The defaults are 10\%
of the main thread heap size.
co-expression. The three optional integers specify the memory in bytes
allocated for the thread's block and string regions and stack size.
The defaults are 10\% of the corresponding sizes for the main thread.

\bigskip\hrule\vspace{0.1cm}
\index{sql}
Expand Down

0 comments on commit 87d5de3

Please sign in to comment.