controlling MultiThreads
<p>I have array with 24 element
and I need to create 10 thread and one controller thread
the task of controller thread is to allow some threads to access the array and prevent some of them according to  a specific criteria.
the main question Can we control all the threads with one controller thread
and can we make sure that the threads that can access array finished accessing the first element in array before they access the second element.
thanks</p>
