Skip to content

Use wasi thread_exit instead of proc_exit where appropriate#364

Draft
yamt wants to merge 1 commit into
WebAssembly:mainfrom
yamt:thread-exit
Draft

Use wasi thread_exit instead of proc_exit where appropriate#364
yamt wants to merge 1 commit into
WebAssembly:mainfrom
yamt:thread-exit

Conversation

@yamt

@yamt yamt commented Dec 16, 2022

Copy link
Copy Markdown
Contributor

@sbc100 sbc100 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm assuming we have consensus on WebAssembly/wasi-threads#7

@abrown abrown left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, similar comment from me: let's wait on WebAssembly/wasi-threads#7

@sbc100

sbc100 commented Dec 16, 2022

Copy link
Copy Markdown
Member

Yeah, similar comment from me: let's wait on WebAssembly/wasi-threads#7

In that case we should completely remove pthread_exit from wasi-libc until that issue is resolved. Implementing pthread_exit using proc_exit (exit the whole process) is not correct, and we also want to know how many folks/app are going to just fail to build without pthread_exit existing at all.

@yamt

yamt commented Dec 17, 2022

Copy link
Copy Markdown
Contributor Author

Yeah, similar comment from me: let's wait on WebAssembly/wasi-threads#7

yes, that's why i made this a draft.

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

Successfully merging this pull request may close these issues.

3 participants