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

Function tidbatch_add

freebsd/kern/kern_thread.c:307–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307static void
308tidbatch_add(struct tidbatch *tb, struct thread *td)
309{
310
311 KASSERT(tb->n < nitems(tb->tab),
312 ("%s: count too high %d", __func__, tb->n));
313 tb->tab[tb->n] = td->td_tid;
314 tb->n++;
315}
316
317static void
318tidbatch_process(struct tidbatch *tb)

Callers 1

thread_reap_domainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected