| IRT Method |
Assumes Threads |
Emscripten |
Web API |
Limitations |
| close |
|
builtin |
Not relevant to Wasm, implementation detail. |
|
| dup |
|
builtin |
Not relevant to Wasm, implementation detail. |
|
| dup2 |
|
builtin |
Not relevant to Wasm, implementation detail. |
|
| read |
|
builtin |
Not relevant to Wasm, implementation detail. |
|
| write |
|
builtin |
Not relevant to Wasm, implementation detail. |
|
| seek |
|
builtin |
Not relevant to Wasm, implementation detail. |
|
| fstat |
|
builtin |
Not relevant to Wasm, implementation detail. |
|
| getdents |
|
builtin |
Not relevant to Wasm, implementation detail. |
|
| IRT Method |
Assumes Threads |
Emscripten |
Web API |
Limitations |
| mutex_create |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| mutex_destroy |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| mutex_lock |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| mutex_unlock |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| mutex_trylock |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| IRT Method |
Assumes Threads |
Emscripten |
Web API |
Limitations |
| cond_create |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| cond_destroy |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| cond_signal |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| cond_broadcast |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| cond_wait |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| cond_timed_wait_abs |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| IRT Method |
Assumes Threads |
Emscripten |
Web API |
Limitations |
| sem_create |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| sem_destroy |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| sem_post |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |
| sem_wait |
x |
PTHREADS=1 |
Implement on top of Atomics + futex. |
Forthcoming WebAssembly threads support will likely expose this directly. |