Skip to content
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

Quick notes on exec discussion #95

Open
Yaxuan-w opened this issue Nov 18, 2024 · 0 comments
Open

Quick notes on exec discussion #95

Yaxuan-w opened this issue Nov 18, 2024 · 0 comments

Comments

@Yaxuan-w
Copy link
Member

Quick notes on exec discussion with @qianxichen233 @rennergade @yzhang71. We're going to fulfill with details in the future.


cancelstatus -- need to dig into when fixing the exit issue

pthread id is stored here
-- main thread id is stored (like when we create different threads, we store the main thread id to handle signal etc.)

  1. everything exit correct. Small interface(..?) and return to wasmtime
  2. call kernel pthread_cancel and then handle situations in wasmtime
    Those problems should related to thread (exit) issue we've talked before.

rev_shm lookup table for shm
// fork(): preserved
// exec(): clear


futex -- create futex table save address of futexes
handle different in fork and exec


remove cv/mutex/semaphore tables
one mutex table to ensure behaviors in fork and exec


maybe thread scheduling in

signal staffs -- portable?

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

1 participant