Have a Question ?

Home / Answered Questions / Other / your-task-is-to-write-a-multithreaded-program-using-persistent-threads-for-calculating-and-printing--aw983

(Solved): Your Task Is To Write A Multithreaded Program (using Persistent Threads) For Calculating And Printin...

Your task is to write a multithreaded program (using persistent threads) for calculating and printing out the MD5 hash values of the files in a directory (or a even a single file). Your program should accept as a command-line parameter the directory to examine. Example: $ ./dirHash Documents You should use the producer-consumer pattern for setting-up the communication between your main and your worker threads.

using java

We have an Answer from Expert View Expert Answer

Expert Answer

here is the sample code for generating the MD5 for files present in any given directory. procedure : 1) First, get the list of all files present in the directory. 2) Then we have a function called
We have an Answer from Expert
Buy This Answer $6

-- OR --

Subscribe To View Unlimited Answers
Subscribe $20 / Month