You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the documentation says, kernel traps come in two flavors: regular, or synchronous.
From what I could understand from the code, synchronous traps are implemented by calling ready_appendleft when handling the trap to make sure the current task is rescheduled immediately without another task getting executed in the middle.
Both _sigwatch and _sigunwatch are said in the docs to be synchronous. However, they are implemented in the kernel, using _reschedule_task, allowing another task to get resumed.
The text was updated successfully, but these errors were encountered:
As the documentation says, kernel traps come in two flavors: regular, or synchronous.
From what I could understand from the code, synchronous traps are implemented by calling
ready_appendleft
when handling the trap to make sure the current task is rescheduled immediately without another task getting executed in the middle.Both
_sigwatch
and_sigunwatch
are said in the docs to be synchronous. However, they are implemented in the kernel, using_reschedule_task
, allowing another task to get resumed.The text was updated successfully, but these errors were encountered: