#include <stdlib.h>
Go to the source code of this file.
Functions | |
void | pthread_qsort (void *base, const size_t nel, const size_t width, int(*compare)(const void *, const void *), const size_t num_threads) |
sort base in the order specified by the compare function |
void pthread_qsort | ( | void * | base, | |
const size_t | nel, | |||
const size_t | width, | |||
int(*)(const void *, const void *) | compare, | |||
const size_t | num_threads | |||
) |
sort base in the order specified by the compare function
base | data array | |
nel | number of elements in data array | |
width | size of element in data array | |
compare | compare function for element in data array | |
num_threads | number of threads to use |