]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter/config.c
Changed the interface of the array sorter: the buffer and hash_bits parameters
[libucw.git] / lib / sorter / config.c
index a4bfc67bf90fb5bbf0698aa44803f887f5b16e95..6f6e94274dff5fae472fd2a950a67b09e7dfcd3a 100644 (file)
@@ -21,6 +21,8 @@ uns sorter_min_radix_bits;
 uns sorter_max_radix_bits;
 uns sorter_min_multiway_bits;
 uns sorter_max_multiway_bits;
+uns sorter_threads;
+uns sorter_thread_threshold;
 struct fb_params sorter_fb_params;
 
 static struct cf_section sorter_config = {
@@ -35,6 +37,8 @@ static struct cf_section sorter_config = {
     CF_UNS("MaxRadixBits", &sorter_max_radix_bits),
     CF_UNS("MinMultiwayBits", &sorter_min_multiway_bits),
     CF_UNS("MaxMultiwayBits", &sorter_max_multiway_bits),
+    CF_UNS("Threads", &sorter_threads),
+    CF_UNS("ThreadThreshold", &sorter_thread_threshold),
     CF_END
   }
 };