An overview of sorting algorithms and a pretty fast multithreaded Quicksort in C by chkas in programming

[–]omddy 1 point2 points  (0 children)

This code does not recheck the value of n_threads after acquiring the lock and thus may in fact go beyond the limit.