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

Allow blocking for realtime #4739

Merged
merged 7 commits into from
May 23, 2024

Commits on May 23, 2024

  1. Minor fix

    john-sharratt committed May 23, 2024
    Configuration menu
    Copy the full SHA
    fb12c95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d7c0df View commit details
    Browse the repository at this point in the history
  3. Cleaned the interface

    john-sharratt committed May 23, 2024
    Configuration menu
    Copy the full SHA
    12e082d View commit details
    Browse the repository at this point in the history
  4. Linting fix

    john-sharratt committed May 23, 2024
    Configuration menu
    Copy the full SHA
    2c6a3a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cb68ee9 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Allow wasmer-wasix to block the current thread

    A WasiEnv now has a flag that signifies if it's allowed
    to block the current thread and the flag is expected to
    be referenced when the current thread can be blocked for
    optimising the performance. In addition, the flag is set
    true when wasm modules are invoked via the CLI. wasmer-wasix
    uses a tokio runtime for many things according to wasmerio#4299, but
    tokio does not always bring the best performance in Wasmer
    as described in wasmerio#4738, hence this update.
    
    Signed-off-by: Daichi Fukui <daichi1.fukui@toshiba.co.jp>
    daichifukui committed May 25, 2024
    Configuration menu
    Copy the full SHA
    684fe92 View commit details
    Browse the repository at this point in the history
  2. Allow more consistent sleep form of poll_oneoff

    Allow different sleep form of poll_oneoff, which
    just sleeps for relative time using std::thread::sleep.
    That form of poll_oneoff is only available if there is
    only one subscription and it is allowed to block
    the current thread, contributing to more consistent
    sleep times. This update would help improve
    the real-time performance of wasmer.
    
    Closes: wasmerio#4738
    
    Signed-off-by: Daichi Fukui <daichi1.fukui@toshiba.co.jp>
    daichifukui committed May 25, 2024
    Configuration menu
    Copy the full SHA
    50f7207 View commit details
    Browse the repository at this point in the history