Skip to content

return from _start #21

Open
Open
@yamt

Description

@yamt

a. some people think a return from _start should be an equivalent of thread_exit. (ie. same as a return from wasi_thread_start)

b. other people think it should be an equivalent of proc_exit(0). (ie. it should terminate other threads.)

c. maybe "leave it undefined for threaded apps for now" is also a valid choice if we make wasi-libc _start call proc_exit explicitly.

i guess it's up to wasi-threads to decide either ways because, without threads, thread_exit and proc_exit are basically same.

cf. WebAssembly/wasi-libc#367

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions