diff options
| author | Fenrir <[email protected]> | 2017-06-06 17:10:20 -0600 |
|---|---|---|
| committer | Fenrir <[email protected]> | 2017-07-10 11:30:57 -0600 |
| commit | a572fa0a5aca2c990ecc5a8a0aaf48df4b67c4f2 (patch) | |
| tree | 21cd16fab40e0d8368f06f383d47e6741ea9c383 /ctr-std/src/sys/unix/thread.rs | |
| parent | Handle linking in ctru-rs build script (diff) | |
| download | ctru-rs-a572fa0a5aca2c990ecc5a8a0aaf48df4b67c4f2.tar.xz ctru-rs-a572fa0a5aca2c990ecc5a8a0aaf48df4b67c4f2.zip | |
Update libraries for ctru-sys changes
Diffstat (limited to 'ctr-std/src/sys/unix/thread.rs')
| -rw-r--r-- | ctr-std/src/sys/unix/thread.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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)) |