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

Function tidhash_add

freebsd/kern/kern_thread.c:1693–1699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1691}
1692
1693void
1694tidhash_add(struct thread *td)
1695{
1696 rw_wlock(TIDHASHLOCK(td->td_tid));
1697 LIST_INSERT_HEAD(TIDHASH(td->td_tid), td, td_hash);
1698 rw_wunlock(TIDHASHLOCK(td->td_tid));
1699}
1700
1701void
1702tidhash_remove(struct thread *td)

Callers 4

do_forkFunction · 0.85
proc0_initFunction · 0.85
thread_createFunction · 0.85
kthread_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected