nnn/misc/haiku
Arun Prakash Jana 284a3c4866
Multi-threaded FTS-based disk usage calculation
Implements pthreads based du using FTS. Currently 4 threads are used.
NFTW is dropped as there is no way to pass any custom values to fn().

FTS does not require any per entry function callback.
The performance numbers are best with FTS:

./nnn-fts -T d /  5.29s user 0.94s system 116% cpu 5.335 total
1/21 du:102.402G free:8.476G files:397644 101132550144B

./nnn-ftw -T d /  5.52s user 0.94s system 116% cpu 5.534 total
1/21 du:102.400G free:8.474G files:397653 101133148160B

./nnn-4.0 -T d /  0.20s user 2.27s system 24% cpu 10.241 total
1/21 du:102.400G free:8.475G files:397654 101133299712B
2021-05-26 22:28:38 +05:30
..
haiku_interop.h Get nnn compile and run on Haiku (#403) 2019-12-27 23:32:20 +05:30
Makefile Multi-threaded FTS-based disk usage calculation 2021-05-26 22:28:38 +05:30
nm.cpp Get nnn compile and run on Haiku (#403) 2019-12-27 23:32:20 +05:30
nnn-master.recipe Update copyright year 2020-12-29 02:34:23 +05:30
nnn.rdef Set Haiku variety to dev 2021-04-13 16:56:16 +05:30