MCPcopy Create free account
hub / github.com/coreutils/coreutils / sortlines_thread

Function sortlines_thread

src/sort.c:3858–3866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3856/* Like sortlines, except with a signature acceptable to pthread_create. */
3857
3858static void *
3859sortlines_thread (void *data)
3860{
3861 struct thread_args const *args = data;
3862 sortlines (args->lines, args->nthreads, args->total_lines,
3863 args->node, args->queue, args->tfp,
3864 args->output_temp);
3865 return NULL;
3866}
3867
3868/* Sort lines, possibly in parallel. The arguments are as in struct
3869 thread_args above.

Callers

nothing calls this directly

Calls 1

sortlinesFunction · 0.85

Tested by

no test coverage detected