06-24-2012, 11:18 AM
(This post was last modified: 06-24-2012, 11:19 AM by AceInfinity.)
The idea here I was trying to achieve was alternate processing, kind of the concept behind a mutex but much simpler. Although mutex is used for a different purpose, not necessarily alternating, but when it's required it's like a queue manager telling when to wait for another to be released..
Multi-threading to a higher degree would have been an option, or even CPU affinity with parallel programming. Running each task on a new available CPU, although this would differ from system to system depending on the number of cores, so it's questionable until you see how many are available to work with. That's a bitwise calculation btw... I've done it before with another project I finished a while back.
Multi-threading to a higher degree would have been an option, or even CPU affinity with parallel programming. Running each task on a new available CPU, although this would differ from system to system depending on the number of cores, so it's questionable until you see how many are available to work with. That's a bitwise calculation btw... I've done it before with another project I finished a while back.