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-03-12 21:00:33 +00:00
|
|
|
pub fn ___lock(_ctx: &mut Ctx, _what: c_int) {
|
|
|
|
debug!("emscripten::___lock {}", _what);
|
2018-11-29 06:02:25 +00:00
|
|
|
}
|
2018-11-24 14:55:21 +00:00
|
|
|
|
|
|
|
// NOTE: Not implemented by Emscripten
|
2019-03-12 21:00:33 +00:00
|
|
|
pub fn ___unlock(_ctx: &mut Ctx, _what: c_int) {
|
|
|
|
debug!("emscripten::___unlock {}", _what);
|
2018-11-29 06:02:25 +00:00
|
|
|
}
|
2018-12-13 18:28:30 +00:00
|
|
|
|
|
|
|
// NOTE: Not implemented by Emscripten
|
2019-02-09 21:58:05 +00:00
|
|
|
pub fn ___wait(_ctx: &mut Ctx, _which: u32, _varargs: u32, _three: u32, _four: u32) {
|
2018-12-13 18:28:30 +00:00
|
|
|
debug!("emscripten::___wait");
|
|
|
|
}
|
2019-03-20 23:46:42 +00:00
|
|
|
|
|
|
|
pub fn _flock(_ctx: &mut Ctx, _fd: u32, _op: u32) -> u32 {
|
|
|
|
debug!("emscripten::_flock");
|
|
|
|
0
|
|
|
|
}
|