Lines Matching full:critical
30 .Nd enter and exit a critical region
40 These functions are used to prevent preemption in a critical region of code.
43 Specifically, a thread in a critical region will not migrate to another CPU
44 while it is in a critical region, nor will the current CPU switch to a
46 The current CPU may still trigger faults and exceptions during a critical
49 The CPU might also receive and handle interrupts within a critical section.
51 execution will continue in the critical section.
52 Thus, the net effect of a critical section on the current thread's execution is
60 functions manage a per-thread counter to handle nested critical sections.
62 while the current thread is in a critical section,
64 outermost critical section.
72 a critical region will deadlock the CPU.
76 One exception to this is that spin mutexes include a critical section,
77 so in certain cases critical sections may be interlocked with spin mutexes.
79 Critical regions should be only as wide as necessary.
80 That is, code which does not require the critical section to operate correctly
82 Abuse of critical sections has an effect on overall system latency and timer
92 is currently executing in a critical section.