thanks, i should have some time this evening to fiddle with it!How they differ is mine uses the "global" declaration in the threads so those variables can be shared.
The best example is the variable "done". It is used in the main loop as well as each thread. It allows the shutdown of all the threads before closing the program.
You should be able to figure out the rest when you see it run.
Statistics: Posted by Ykdave — Thu Oct 17, 2024 12:10 am