Suppose four threads have to do tasks. Each thread has to do a single unit work. how to know which thread has finished its work to assign it next work.
actually, I have to use 4 threads and each thread has to copy one column of a 2d array into 1d array..
Edit : Without using Threadpool. Many Thanks.