implement atomics opcodes for interpreter (#344)

This commit is contained in:
Xu Jun
2020-08-10 19:43:58 +08:00
committed by GitHub
parent 1b6ddb37d0
commit 6aeefbebb2
10 changed files with 902 additions and 3 deletions

View File

@ -397,7 +397,7 @@ wasm_runtime_atomic_wait(WASMModuleInstanceCommon *module, void *address,
return is_timeout ? 2 : 0;
}
uint8
uint32
wasm_runtime_atomic_notify(WASMModuleInstanceCommon *module,
void *address, uint32 count)
{

View File

@ -57,7 +57,7 @@ uint32
wasm_runtime_atomic_wait(WASMModuleInstanceCommon *module, void *address,
uint64 expect, int64 timeout, bool wait64);
uint8
uint32
wasm_runtime_atomic_notify(WASMModuleInstanceCommon *module,
void *address, uint32 count);