MCPcopy Create free account
hub / github.com/F-Stack/f-stack / tidbatch_final

Function tidbatch_final

freebsd/kern/kern_thread.c:329–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329static void
330tidbatch_final(struct tidbatch *tb)
331{
332
333 KASSERT(tb->n <= nitems(tb->tab),
334 ("%s: count too high %d", __func__, tb->n));
335 if (tb->n != 0) {
336 tid_free_batch(tb->tab, tb->n);
337 }
338}
339
340/*
341 * Prepare a thread for use.

Callers 1

thread_reap_domainFunction · 0.85

Calls 1

tid_free_batchFunction · 0.85

Tested by

no test coverage detected