Skip to content

Commit fa01648

Browse files
authored
Merge pull request #210 from tontinton/fix-docs-stacksize
Fix docs stacksize
2 parents bc376c5 + 485f126 commit fa01648

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

man/bundle_go.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ int\ bundle_go(
2121
This construct launches a coroutine within the specified bundle.
2222
For more information about bundles see \f[B]bundle\f[].
2323
.PP
24-
The coroutine gets a 1MB stack.
24+
The coroutine gets a 256KB stack.
2525
The stack is guarded by a non\-writeable memory page.
2626
Therefore, stack overflow will result in a \f[B]SEGFAULT\f[] rather than
2727
overwriting memory that doesn\[aq]t belong to it.

man/go.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ int\ go(
1818
.SH DESCRIPTION
1919
.PP
2020
This construct launches a coroutine.
21-
The coroutine gets a 1MB stack.
21+
The coroutine gets a 256KB stack.
2222
The stack is guarded by a non\-writeable memory page.
2323
Therefore, stack overflow will result in a \f[B]SEGFAULT\f[] rather than
2424
overwriting memory that doesn\[aq]t belong to it.

man/manpages.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ fxs = [
604604
This construct launches a coroutine within the specified bundle.
605605
For more information about bundles see **bundle**.
606606
607-
The coroutine gets a 1MB stack.
607+
The coroutine gets a 256KB stack.
608608
The stack is guarded by a non-writeable memory page. Therefore,
609609
stack overflow will result in a **SEGFAULT** rather than overwriting
610610
memory that doesn't belong to it.
@@ -1207,7 +1207,7 @@ fxs = [
12071207
allocates_handle: true,
12081208

12091209
prologue: `
1210-
This construct launches a coroutine. The coroutine gets a 1MB stack.
1210+
This construct launches a coroutine. The coroutine gets a 256KB stack.
12111211
The stack is guarded by a non-writeable memory page. Therefore,
12121212
stack overflow will result in a **SEGFAULT** rather than overwriting
12131213
memory that doesn't belong to it.

website/bundle_go.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1 id="synopsis">SYNOPSIS</h1>
2626
expression);</code></pre></div>
2727
<h1 id="description">DESCRIPTION</h1>
2828
<p>This construct launches a coroutine within the specified bundle. For more information about bundles see <strong>bundle</strong>.</p>
29-
<p>The coroutine gets a 1MB stack. The stack is guarded by a non-writeable memory page. Therefore, stack overflow will result in a <strong>SEGFAULT</strong> rather than overwriting memory that doesn't belong to it.</p>
29+
<p>The coroutine gets a 256KB stack. The stack is guarded by a non-writeable memory page. Therefore, stack overflow will result in a <strong>SEGFAULT</strong> rather than overwriting memory that doesn't belong to it.</p>
3030
<p><strong>bndl</strong>: Bundle to launch the coroutine in.</p>
3131
<p><strong>expression</strong>: Expression to evaluate as a coroutine.</p>
3232
<p>The coroutine is executed concurrently, and its lifetime may exceed the lifetime of the caller coroutine. The return value of the coroutine, if any, is discarded and cannot be retrieved by the caller.</p>

website/go.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h1 id="synopsis">SYNOPSIS</h1>
2424
<span class="dt">int</span> go(
2525
expression);</code></pre></div>
2626
<h1 id="description">DESCRIPTION</h1>
27-
<p>This construct launches a coroutine. The coroutine gets a 1MB stack. The stack is guarded by a non-writeable memory page. Therefore, stack overflow will result in a <strong>SEGFAULT</strong> rather than overwriting memory that doesn't belong to it.</p>
27+
<p>This construct launches a coroutine. The coroutine gets a 256KB stack. The stack is guarded by a non-writeable memory page. Therefore, stack overflow will result in a <strong>SEGFAULT</strong> rather than overwriting memory that doesn't belong to it.</p>
2828
<p><strong>expression</strong>: Expression to evaluate as a coroutine.</p>
2929
<p>The coroutine is executed concurrently, and its lifetime may exceed the lifetime of the caller coroutine. The return value of the coroutine, if any, is discarded and cannot be retrieved by the caller.</p>
3030
<p>Any function to be invoked as a coroutine must be declared with the <strong>coroutine</strong> specifier.</p>

0 commit comments

Comments
 (0)