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

Function db_print_thread

freebsd/ddb/db_thread.c:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41#include <ddb/db_sym.h>
42
43void
44db_print_thread(void)
45{
46 pid_t pid;
47
48 pid = -1;
49 if (kdb_thread->td_proc != NULL)
50 pid = kdb_thread->td_proc->p_pid;
51 db_printf("[ thread pid %d tid %ld ]\n", pid, (long)kdb_thread->td_tid);
52}
53
54void
55db_set_thread(db_expr_t tid, bool hastid, db_expr_t cnt, char *mod)

Callers 2

db_trapFunction · 0.85
db_set_threadFunction · 0.85

Calls 1

db_printfFunction · 0.85

Tested by

no test coverage detected