I have a long standing feature request: Can the libast provide
qsort_r() on platforms which do not have it?
void qsort_r(void *base, size_t nmemb, size_t size,
int (*compar)(const void *, const void *, void *),
void *arg);
The qsort_r() function is identical to qsort() except that the
comparison function compar takes a third argument. A pointer is
passed to the comparison function via arg. In this way, the
comparison function does not need to use global variables to pass
through arbitrary arguments, and is therefore reentrant and safe to
use in threads.
Wendy
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers