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

Function print_queue

freebsd/kern/subr_turnstile.c:1103–1116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1101}
1102
1103static void
1104print_queue(struct threadqueue *queue, const char *header, const char *prefix)
1105{
1106 struct thread *td;
1107
1108 db_printf("%s:\n", header);
1109 if (TAILQ_EMPTY(queue)) {
1110 db_printf("%sempty\n", prefix);
1111 return;
1112 }
1113 TAILQ_FOREACH(td, queue, td_lockq) {
1114 print_thread(td, prefix);
1115 }
1116}
1117
1118DB_SHOW_COMMAND(turnstile, db_show_turnstile)
1119{

Callers 1

subr_turnstile.cFile · 0.85

Calls 2

db_printfFunction · 0.85
print_threadFunction · 0.85

Tested by

no test coverage detected