about summary refs log tree commit diff
path: root/src/libstd/rt/task.rs
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-01-29 18:19:23 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2014-01-31 13:47:25 +0100
commit431edacbef23e691d1b192da78b4112c35addfbf (patch)
tree2bd5f9664b3b572ac447b18deef2a931950fed54 /src/libstd/rt/task.rs
parentb02b5cdcf42b4fe6b1e3ebe56ad0cd43fd907489 (diff)
Use __pthread_get_minstack() when available.
glibc >= 2.15 has a __pthread_get_minstack() function that returns
PTHREAD_STACK_MIN plus however many bytes are needed for thread-local
storage.  Use it when it's available because just PTHREAD_STACK_MIN is
not enough in applications that have big thread-local storage
requirements.

Fixes #6233.
Diffstat (limited to 'src/libstd/rt/task.rs')
0 files changed, 0 insertions, 0 deletions