From a572fa0a5aca2c990ecc5a8a0aaf48df4b67c4f2 Mon Sep 17 00:00:00 2001 From: Fenrir Date: Tue, 6 Jun 2017 17:10:20 -0600 Subject: Update libraries for ctru-sys changes --- ctr-std/src/sys/unix/thread.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ctr-std/src/sys/unix/thread.rs') diff --git a/ctr-std/src/sys/unix/thread.rs b/ctr-std/src/sys/unix/thread.rs index 572ac72..a7178a3 100644 --- a/ctr-std/src/sys/unix/thread.rs +++ b/ctr-std/src/sys/unix/thread.rs @@ -18,9 +18,9 @@ use ptr; use sys_common::thread::start_thread; use time::Duration; -use libctru::svc::{svcSleepThread, svcGetThreadPriority}; -use libctru::thread::{threadCreate, threadJoin, threadFree}; -use libctru::thread::Thread as ThreadHandle; +use libctru::{svcSleepThread, svcGetThreadPriority}; +use libctru::{threadCreate, threadJoin, threadFree}; +use libctru::Thread as ThreadHandle; pub struct Thread { handle: ThreadHandle, @@ -44,7 +44,7 @@ impl Thread { priority -= 1; let handle = threadCreate(Some(thread_func), &*p as *const _ as *mut _, - stack_size, priority, -2, 0); + stack_size, priority, -2, false); return if handle == ptr::null_mut() { Err(io::Error::from_raw_os_error(libc::EAGAIN)) -- cgit v1.2.3