Syncing changes to repo.

Currently RT-RPython timer with arguments is not working
parent 39e89d89
#!/bin/sh
export MU_ZEBU=$PWD
export ZEBU_BUILD=release
export CARGO_HOME=~/.cargo
export CC=clang
export CXX=clang++
export RUST_TEST_THREADS=1
export RUST_BACKTRACE=1
export MU_LOG_LEVEL=trace
export LD_LIBRARY_PATH=$MU_ZEBU/target/$ZEBU_BUILD/deps/:$LD_LIBRARY_PATH
# export PYTHONPATH=mu-client-pypy
......@@ -34,7 +34,6 @@ pub unsafe fn sys_thread_launch(
let mut muthread_box = Box::from_raw(muthread_ptr);
let context = Box::new(MuThreadContext {
muthread: muthread_add,
new_sp,
exception
});
......
......@@ -28,9 +28,11 @@ pub type SysThreadID = libc::pthread_t;
pub type SysThreadAttr = libc::pthread_attr_t;
pub type SysResult = libc::c_int;
pub type SysVoid = libc::c_void;
pub type SysAffinityMask = libc::cpu_set_t;
pub const MU_SUCCESS: SysResult = 0;
pub const SYSNULL: *const i32 = ptr::null();
pub const MAX_CPU_COUNT: usize = 32;
#[derive(Debug)]
#[repr(C)]
......
......@@ -23,8 +23,6 @@ pub type MuTime = SysTime;
#[cfg(target_os = "linux")]
pub use super::thread_rtmu_linux::*;
pub const MAX_CPU_COUNT: usize = 32;
#[repr(C)]
pub struct RTAttr {
pub priority: SysPriority,
......
......@@ -18,7 +18,6 @@ use runtime::thread::MuThread;
pub type SysPriority = libc::c_int;
pub type SysTime = libc::timespec;
pub type SysAffinityMask = libc::cpu_set_t;
pub type SysAffinitySize = libc::size_t;
pub type SysSchedPolicy = libc::c_int;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment