Stream: git-wasmtime

Topic: wasmtime / PR #2822 Introduce a new API that allows notif...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2021 at 14:00):

bnjbvr opened PR #2822 from store_notify_thread_switch to main:

While potentially unsafe, https://docs.wasmtime.dev/examples-rust-multithreading.html#multithreading-without-send suggests that we can move over a Store and all that's attached to it to other threads. To make this a reality, a new API is required to notify the store that it's been moved over, so that it can initialize trap handling on this particular thread. I've made it an unsafe function, this should catch the eye of the users that they wouldn't need to use it in general. Also added a test that crashed before on a Mac.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 09 2021 at 14:00):

bnjbvr requested alexcrichton for a review on PR #2822.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 16 2021 at 08:15):

bnjbvr updated PR #2822 from store_notify_thread_switch to main.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 16 2021 at 08:15):

bnjbvr updated PR #2822 from store_notify_thread_switch to main.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 16 2021 at 16:15):

alexcrichton submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 16 2021 at 16:15):

alexcrichton merged PR #2822.


Last updated: Nov 22 2024 at 17:03 UTC