Question: operating system In order to search a file system for all files with file type pdf, we could try the following approach with a thread
operating system
In order to search a file system for all files with file type "pdf", we could try the following approach with a thread pool:
add the root folder to the TODO queue
while the TODO queue is not empty:
assign a thread to the first folder F on the queue
search F for pdf files
What is the best thing to do with subfolders of F here?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
