Hi all, I'm using C and pthread on a Linux machine, and I'm having trouble parallelizing a program. I'm basically trying to take in a folder of data files, divide them into groups, each group handled by a thread, and run a function on each of the data file. The way I'm doing this is I have a global char **filename ...
Hi all, This seems like a pretty basic question, but I just wanted to see what others thought. I am aware that C / C++ do not have a native concept of multi-threading, but of course pthread library is available. i've ben porting some old multi-threaded code over to C++, and I've been using Valgrind to test the race conditions and ...