Add multithreading to rust code.
This commit is contained in:
parent
19144f7be9
commit
d5a5041c4b
5 changed files with 76 additions and 6 deletions
|
|
@ -351,9 +351,7 @@ pub struct ZThreadStartReq {
|
|||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct ZThreadExitReq {
|
||||
pub _address: u8,
|
||||
}
|
||||
pub struct ZThreadExitReq {}
|
||||
extern "C" {
|
||||
#[link_name = "\u{1}_Z11ZThreadExitv"]
|
||||
pub fn ZThreadExit() -> z_err_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue