wasmer/lib/emscripten/src/lock.rs

18 lines
562 B
Rust
Raw Normal View History

2018-11-27 04:29:26 +00:00
use libc::c_int;
2019-01-23 07:27:13 +00:00
use wasmer_runtime_core::vm::Ctx;
2018-11-24 14:55:21 +00:00
// NOTE: Not implemented by Emscripten
2019-01-23 07:27:13 +00:00
pub extern "C" fn ___lock(which: c_int, varargs: c_int, _vmctx: &mut Ctx) {
debug!("emscripten::___lock {}, {}", which, varargs);
}
2018-11-24 14:55:21 +00:00
// NOTE: Not implemented by Emscripten
2019-01-23 07:27:13 +00:00
pub extern "C" fn ___unlock(which: c_int, varargs: c_int, _vmctx: &mut Ctx) {
debug!("emscripten::___unlock {}, {}", which, varargs);
}
// NOTE: Not implemented by Emscripten
2019-01-23 07:27:13 +00:00
pub extern "C" fn ___wait(_which: c_int, _varargs: c_int, _vmctx: &mut Ctx) {
debug!("emscripten::___wait");
}