Hi All,
I have following scenario with respect to Multithreading environment
Suppose I want to process a file of 1000 records and I have created threads T1, T2, T3 and T4. Each
thread will process 250 records. All records should process in sequence.
To implement above scenario if I use CyclicBarrier then is that correct approach or I need to provide better solution in above scenario.
Can anybody let me know what will be best solution on above scenario?