Skip to content

Clarify thread::Builder::stack_size docs#40030

Merged
bors merged 1 commit into
rust-lang:masterfrom
matklad:stack-docs
Feb 25, 2017
Merged

Clarify thread::Builder::stack_size docs#40030
bors merged 1 commit into
rust-lang:masterfrom
matklad:stack-docs

Conversation

@matklad

@matklad matklad commented Feb 22, 2017

Copy link
Copy Markdown
Contributor

Add two pieces of information:

  • the size is in bytes
  • the actual stack size might be bigger.

Also change the example to use a more realistic value of 32 kilobytes.

r? @steveklabnik

@matklad

matklad commented Feb 22, 2017

Copy link
Copy Markdown
Contributor Author

Platform-dependent minimum on unix is set here:

let stack_size = cmp::max(stack, min_stack_size(&attr));

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Feb 22, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 689dc26 has been approved by alexcrichton

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Feb 22, 2017
Clarify thread::Builder::stack_size docs

Add two pieces of information:

* the size is in bytes
* the actual stack size might be bigger.

Also change the example to use a more realistic value of 32 kilobytes.

r? @steveklabnik
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 23, 2017
Clarify thread::Builder::stack_size docs

Add two pieces of information:

* the size is in bytes
* the actual stack size might be bigger.

Also change the example to use a more realistic value of 32 kilobytes.

r? @steveklabnik
bors added a commit that referenced this pull request Feb 23, 2017
Rollup of 11 pull requests

- Successful merges: #39859, #39886, #39892, #39903, #39914, #39918, #39988, #40010, #40027, #40030, #40035
- Failed merges:
@GuillaumeGomez

Copy link
Copy Markdown
Member

@bors: rollup

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Feb 23, 2017
Clarify thread::Builder::stack_size docs

Add two pieces of information:

* the size is in bytes
* the actual stack size might be bigger.

Also change the example to use a more realistic value of 32 kilobytes.

r? @steveklabnik
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 23, 2017
Clarify thread::Builder::stack_size docs

Add two pieces of information:

* the size is in bytes
* the actual stack size might be bigger.

Also change the example to use a more realistic value of 32 kilobytes.

r? @steveklabnik
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Feb 24, 2017
Clarify thread::Builder::stack_size docs

Add two pieces of information:

* the size is in bytes
* the actual stack size might be bigger.

Also change the example to use a more realistic value of 32 kilobytes.

r? @steveklabnik
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 24, 2017
Clarify thread::Builder::stack_size docs

Add two pieces of information:

* the size is in bytes
* the actual stack size might be bigger.

Also change the example to use a more realistic value of 32 kilobytes.

r? @steveklabnik
bors added a commit that referenced this pull request Feb 24, 2017
Rollup of 17 pull requests

- Successful merges: #39777, #39815, #39845, #39886, #39892, #39903, #39905, #39914, #39927, #39940, #40010, #40030, #40048, #40050, #40052, #40060, #40071
- Failed merges:
bors added a commit that referenced this pull request Feb 25, 2017
Rollup of 11 pull requests

- Successful merges: #39777, #39815, #39845, #39886, #39940, #40010, #40030, #40048, #40050, #40052, #40071
- Failed merges:
@bors bors merged commit 689dc26 into rust-lang:master Feb 25, 2017
@matklad matklad deleted the stack-docs branch July 9, 2019 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants