mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-12 22:05:33 +00:00
Added pthread_self emscripten method
This commit is contained in:
parent
b1f868dc52
commit
f5af920724
@ -161,6 +161,10 @@ pub fn _pthread_join(_ctx: &mut Ctx, _a: i32, _b: i32) -> i32 {
|
||||
trace!("emscripten::_pthread_join");
|
||||
0
|
||||
}
|
||||
pub fn _pthread_self(_ctx: &mut Ctx) -> i32 {
|
||||
trace!("emscripten::_pthread_self");
|
||||
0
|
||||
}
|
||||
pub fn _pthread_key_create(_ctx: &mut Ctx, _a: i32, _b: i32) -> i32 {
|
||||
trace!("emscripten::_pthread_key_create");
|
||||
0
|
||||
|
@ -884,6 +884,7 @@ pub fn generate_emscripten_env(globals: &mut EmscriptenGlobals) -> ImportObject
|
||||
"_pthread_detach" => func!(crate::emscripten_target::_pthread_detach),
|
||||
"_pthread_equal" => func!(crate::emscripten_target::_pthread_equal),
|
||||
"_pthread_exit" => func!(crate::emscripten_target::_pthread_exit),
|
||||
"_pthread_self" => func!(crate::emscripten_target::_pthread_self),
|
||||
"_pthread_getattr_np" => func!(crate::emscripten_target::_pthread_getattr_np),
|
||||
"_pthread_getspecific" => func!(crate::emscripten_target::_pthread_getspecific),
|
||||
"_pthread_join" => func!(crate::emscripten_target::_pthread_join),
|
||||
|
Loading…
Reference in New Issue
Block a user