Parallel implementation of Gaussian elimination using pthreads.