Add multithreading to rust code.

This commit is contained in:
Drew Galbraith 2024-07-28 19:02:03 -07:00
parent 19144f7be9
commit d5a5041c4b
5 changed files with 76 additions and 6 deletions

View file

@ -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;