Answer by Mat for Issues multithreading in c
{ struct arg_struct args; ... thread = pthread_create(&tid[children], NULL, mybackup, (void *)&args);This can't be right. The (stack-based) object you pass to the to the thread function it is...
View ArticleIssues multithreading in c
I'm trying to write a program in c that uses threads to print out the contents of the current working directory. Currently the right number of files are printed, however, some files repeat multiple...
View Article
More Pages to Explore .....