MCPcopy Create free account
hub / github.com/coreboot/coreboot / terminate_thread

Function terminate_thread

src/lib/thread.c:135–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135static void terminate_thread(struct thread *t, enum cb_err error)
136{
137 if (t->handle) {
138 t->handle->error = error;
139 t->handle->state = THREAD_DONE;
140 }
141
142 free_thread(t);
143 schedule(NULL);
144}
145
146static asmlinkage void call_wrapper(void *unused)
147{

Callers 2

call_wrapperFunction · 0.85
call_wrapper_block_stateFunction · 0.85

Calls 2

free_threadFunction · 0.85
scheduleFunction · 0.85

Tested by

no test coverage detected