So, my code was working, but now when I try to join my threads I get a bus error!
//join the threads
pthread_attr_destroy(&attr);
for (int i = 0; i < numThreads; i++)
{
rc = pthread_join(threads[i], &status); <----BUS ERROR!
......
Thanks to anyone who can help! My college degree depends on it!