1- How to make a sequence data using thread? or perhaps that is just a waste?
2- can you give me some example on a simple program scenarios that can be done concurrently
asparagus white wrote:what i meant to say is if i want to print all the even numbers between 0 to 100, can we make it to thread?
Anything can be done with multiple threads. But some tasks benefit more than others from multithreading. And some tasks may actually perform more slowly with multiple threads.