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

Function thread_coop_disable

src/lib/thread.c:392–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392void thread_coop_disable(void)
393{
394 struct thread *current;
395
396 current = current_thread();
397
398 if (current == NULL)
399 return;
400
401 current->can_yield--;
402}
403
404enum cb_err thread_join(struct thread_handle *handle)
405{

Callers 1

idle_threadFunction · 0.70

Calls 1

current_threadFunction · 0.85

Tested by

no test coverage detected