Replies: 1 comment 3 replies
-
Exclusive systems always run on the main thread. Or are there API discrepancies that don't let it work as expected? Can you provide an example? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to create an exclusive system that is local to the main thread. The issue is that the system I have is
!Send + !Sync
. At the same time, I only need it to be thread local on WASM, but there aren't threads on WASM anyway right? Maybe I can justunsafe impl Send {}
for the!Send
because WASM doesn't have threads so it won't be a problem?Beta Was this translation helpful? Give feedback.
All reactions