I want to implement following in java code :
Main thread 1. create three threads 2. wait for completion of stage 2 of all three threads
resume all three threads execution
wait for end of each thread
access all three local variable (LC'0, LC'1, LC'2)
Each threads executes following
wait till main thread signals
access a main data (MD)
There is no need of synchronization. hence i can't use wait and notify.
How to access local data of threads in the when threads is paused ( is waiting).
How to resume execution of all three threads.
I will expain the algorithm if required.
Please help me.
there is some problem in your post previews.
please consider 1. 2. points just after main thread as 1. 2.
later numbers staring from 1. 2. 3.. should be considered as 3. 4. 5. .....
or look my revised question