File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

looking for Multithreaded patern

 
Meir Yan
Ranch Hand
Posts: 599
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
Thanks
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds a bit like the Producer/Consumer pattern might be interesting to you.
 
Adeel Ansari
Ranch Hand
Posts: 2874
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic