Mercurial > foo_out_sdl
annotate foosdk/sdk/foobar2000/SDK/foosort.h @ 1:20d02a178406 default tip
*: check in everything else
yay
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 05 Jan 2026 02:15:46 -0500 |
| parents | |
| children |
| rev | line source |
|---|---|
| 1 | 1 #pragma once |
| 2 | |
| 3 // #define FOOSORT_LIMIT_THREADS 1 | |
| 4 | |
| 5 | |
| 6 namespace fb2k { | |
| 7 | |
| 8 // foosort | |
| 9 // abortable multithreaded quicksort | |
| 10 // expects cb to handle concurrent calls as long as they do not touch the same items concurrently | |
| 11 void sort(pfc::sort_callback & cb, size_t count, size_t concurrency, abort_callback & aborter); | |
| 12 | |
| 13 } |
