Skip to content

Commit 485f126

Browse files
committed
website: Fix stacksize documentation
1MB -> 256KB
1 parent ba4ffe7 commit 485f126

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)