-
- Downloads
printload: use sched_lock to protect access to tcb
what could have gone wrong before? A scheduling switch during the printload could have led to a task exit, rendering the tcb invalid. After switching back, printload would access invalid memory. This keeps the sched_lock() section as small as possible, just grabbing the tcb variables we need.
Loading
Please register or sign in to comment