I want to spawn a few worker threads to do some processing but i want the spawned function to have access to a shared object. How do i accomplish this?

I'm currently passing it as a parameter and getting the error: "Aliases to mutable thread-local data not allowed."

Reply via email to