View Full Version : looking for Multithreaded pattern

10-09-2008, 11:04 PM
Hello all sorry for my bad English
i looking for pattern to deal with converting serial functionality to
Multithreaded .
my case is i have function that scans system paths (like: /home/foo/bar/ ) in text files (many text files ) now when it finds system path it preform set of function on the directory when its done it reports and updates in memory
vector and log file.
now i like to convert this functionality Multithreaded behavior so it will call in parallel the paths from the text files and do the actions on them
but i don't know where to start .. what is the best way to begin with ?

10-13-2008, 05:40 PM
So you want a program that is multithreaded and each thread will search text files in directories for the system path, if one is found it will be logged and some actions performed ?