Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    rf9061b4 r5bcf1f9  
    534534        */
    535535        if (notify) {
    536                 /* Notify the subscriber that a fault occurred. */
    537                 if (event_notify_3(EVENT_FAULT, false, LOWER32(TASK->taskid),
    538                     UPPER32(TASK->taskid), (sysarg_t) THREAD) == EOK) {
     536                if (event_is_subscribed(EVENT_FAULT)) {
     537                        /* Notify the subscriber that a fault occurred. */
     538                        event_notify_3(EVENT_FAULT, LOWER32(TASK->taskid),
     539                            UPPER32(TASK->taskid), (sysarg_t) THREAD);
     540               
    539541#ifdef CONFIG_UDEBUG
    540542                        /* Wait for a debugging session. */
Note: See TracChangeset for help on using the changeset viewer.