Handle more than 1 thread in the example
Ignore src and pkg directories