Skip to content

Commit

Permalink
Thread native name setting, fix #10302
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechkral committed Jan 28, 2015
1 parent 7e67eba commit 9ee972c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/thread.rs
Expand Up @@ -278,7 +278,7 @@ fn min_stack_size(_: *const libc::pthread_attr_t) -> libc::size_t {
PTHREAD_STACK_MIN
}

#[cfg(any(target_os = "linux"))]
#[cfg(any(target_os = "linux", target_os = "android"))]
extern {
pub fn pthread_self() -> libc::pthread_t;
pub fn pthread_getattr_np(native: libc::pthread_t,
Expand Down

0 comments on commit 9ee972c

Please sign in to comment.