Skip to content

"phread.h" not found #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gkorland opened this issue Dec 26, 2019 · 2 comments
Closed

"phread.h" not found #155

gkorland opened this issue Dec 26, 2019 · 2 comments

Comments

@gkorland
Copy link

How to include the libc-top-half in the build process and get it in sys_root?

@sbc100
Copy link
Member

sbc100 commented Dec 26, 2019

WASI doesn't currently support threads. You can build wasi-libc with THREAD_MODEL=posix, which will get you pthread.h, but you won't get something with working threading because we don't have any APIs yet for creating threads.

If you are interesting in pushing for threading APIs when the main WASI repository is probably the best place to do that.

@sunfishcode
Copy link
Member

See also the discussion in WebAssembly/threads#138 for more background on the core spec work needed to enable threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants