I'm currently passing it as a parameter and getting the error: "Aliases to mutable thread-local data not allowed."
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?
- Passing a instance of a class to a thread via spawn? Gary Willoughby
- Re: Passing a instance of a class to a thread via spa... Ali Çehreli
- Re: Passing a instance of a class to a thread via... Gary Willoughby