You should create your variables shared. Sharing objects doesn't really make sense unless the object is specifically designed to transport data between threads. Either special purpose objects, or don't use objects at all to exchange data.
In reply to Re^6: multithreads newbie question
by ikegami
in thread multithreads newbie question
by daverave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |