Skip to content

return from _start #21

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions