| 1691 | } |
| 1692 | |
| 1693 | void |
| 1694 | tidhash_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 | |
| 1701 | void |
| 1702 | tidhash_remove(struct thread *td) |
no outgoing calls
no test coverage detected