I have a wierd task to cope with.
Let's imagine that I need to run 10 threads on a computer and all of them have to be synchronized to some master clock. I need all these threads to run counters inside of them and display their current status onto the main form. The problem is that when I do that in a normaln fashion, that is create 10 thread instances, and run them one after another, they are not synchronized at all, the thread that was started first has the higest counter value and the thread that was started last has the lowest one.
Does anybody have an idea whether it is possible to synchronize threads in some manner so that I have these 10 processes running simultanously and with the same time speed? Perhaps interrupts would be an option here ?