Quantcast
Channel: Issues multithreading in c - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



Issues 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
Browsing all 2 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>