You would be far more likely to get a solution if you posted runnable code that demonstrates the problem.
The start of some sanity?
In reply to Re: thread::share problem by BrowserUk in thread thread::share problem by merlol