Replies: 1 comment
-
swc/crates/swc_common/src/sync.rs Line 11 in cf9e865 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am writing a bundler. Trying to parse a bunch of source files in parallel then store the resulting
Module
s andSourceFile
s inMutex
protected containers before mutating/combining them in a following phase. My code looks roughly like:However I am getting the error:
How am I supposed to use
SourceFile
in a multithreaded context?Beta Was this translation helpful? Give feedback.
All reactions