C Going Over A Matrix While Multi Threading Stack Overflow

C Going Over A Matrix While Multi Threading Stack Overflow