threads and Coro are distinctly different. Coro only implements cooperative multithreading and will never use more than one CPU.
threads by design copies all data from the main thread, so the best approach is to spawn your worker threads as soon as possible and only then allocate data per-thread.
There is lots of discussion of threads and Coro here - Super Search will likely find these for you.
In reply to Re: threads memory usage...
by Corion
in thread threads memory usage...
by ratoa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |