lab7/src/main/java/lab7/Table.java
/**
     * @param j - number declared for the thread in order to distinguish them.
     * Description : Method that let thread to give way for other process  try to take right to execute a task
     */
@param j - number declared for the thread in order to distinguish them.
Description : Method that let thread to give way for other process  try to take right to execute a task
@param j - number declared for the thread in order to distinguish them . Description : Method that let thread to give way for other process try to take right to execute a task
public void put_forks(int j){
            fork[j].release();
            fork[Main.nPhilosphers%j].release();
            footman.release();
    }
public void put_forks ( int j ) { fork [ j ] . release ( ) ; fork [ Main . nPhilosphers % j ] . release ( ) ; footman . release ( ) ; }
@param j - number declared for the thread in order to distinguish them.
@param j - number declared for the thread in order to distinguish them .