Relative Content

Tag Archive for multithreadingrustos.walk

How to use a Threadpool with recursive jobs?

I have a simple usecase – I want to perform some operation on each file in a directory. For example, let’s just say I want to print the file name. A very simple single threaded option for this is below –