Lind-Project / lind-wasm

https://lind-project.github.io/lind-wasm-docs/
Apache License 2.0
2 stars 1 forks source link

Patch in futex() #1

Open rennergade opened 3 months ago

rennergade commented 3 months ago

It seems like threading for lind-wasm glibc needs some direct calls to futex. Currently RustPOSIX handles concurrency objects separately due to some legacy weirdness with NaCl. It would be great to do it the right way this time by having nptl create those objects by just calling futex().

I'm going to create a PR to add futex() as callable to Dennis's branch of RustPOSIX.

Opening this issue for any further discussion.