I've done very little with threading and i mean very little. From my initial reading i can see the advantage to freeing up the app to do other things while a particularly long process is running.
However, in a single cpu environment there wouldn't be any kind of performance gain with the implementation of threading correct???
for example if i have
job1
job2
job3
the amount of time it would take for jobs 1-3 to complete would be the same if i ran them sequentially or spun them off into three different threads???
if it matters, can't imagine that it would, all jobs do bascially the same thing getdata(), changedata(), senddata()
However, in a single cpu environment there wouldn't be any kind of performance gain with the implementation of threading correct???
for example if i have
job1
job2
job3
the amount of time it would take for jobs 1-3 to complete would be the same if i ran them sequentially or spun them off into three different threads???
if it matters, can't imagine that it would, all jobs do bascially the same thing getdata(), changedata(), senddata()