diff options
| author | Anders Kaseorg <andersk@mit.edu> | 2015-03-23 03:48:06 -0400 |
|---|---|---|
| committer | Anders Kaseorg <andersk@mit.edu> | 2015-03-23 03:48:06 -0400 |
| commit | b6641c1595687a6c7c8ba381b46b931a58a3ada4 (patch) | |
| tree | 06e97185b4c9946191c9855ad6532657fd454735 /src/libstd/sys | |
| parent | 0090e01f08f7ed564a62fb3cd2e3b652317d39d7 (diff) | |
| download | rust-b6641c1595687a6c7c8ba381b46b931a58a3ada4.tar.gz rust-b6641c1595687a6c7c8ba381b46b931a58a3ada4.zip | |
min_stack_size: update non-Linux implementation comment
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/thread.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/unix/thread.rs b/src/libstd/sys/unix/thread.rs index 1d3cb43465b..b3594dcaa75 100644 --- a/src/libstd/sys/unix/thread.rs +++ b/src/libstd/sys/unix/thread.rs @@ -343,8 +343,8 @@ fn min_stack_size(attr: *const libc::pthread_attr_t) -> libc::size_t { } } -// __pthread_get_minstack() is marked as weak but extern_weak linkage is -// not supported on OS X, hence this kludge... +// No point in looking up __pthread_get_minstack() on non-glibc +// platforms. #[cfg(not(target_os = "linux"))] fn min_stack_size(_: *const libc::pthread_attr_t) -> libc::size_t { PTHREAD_STACK_MIN |
