  /********************************************//**  *  Functions  ***********************************************/   /**  * This function initializes all the global data structures for the thread system.   *  * Creates a new Run Queue and initilaizes the indices for both the   * TCB table and Semaphore table to 0. It then initializes the TCB  * and semaphore table. Finally, [TO BE COMPLETED]  */  int 