Ignore:
Timestamp:
2008-11-22T11:26:53Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e6c9eb
Parents:
6571b78
Message:

Merge feature from tracing: correct stopping of CPU-intensive tasks in udebug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/interrupt/interrupt.c

    r6571b78 r3ff2b54  
    8787{
    8888        ASSERT(n < IVT_ITEMS);
     89
     90#ifdef CONFIG_UDEBUG
     91        if (THREAD) THREAD->udebug.uspace_state = istate;
     92#endif
    8993       
    9094        exc_table[n].f(n + IVT_FIRST, istate);
     95
     96#ifdef CONFIG_UDEBUG
     97        if (THREAD) THREAD->udebug.uspace_state = NULL;
     98#endif
     99
    91100        /* This is a safe place to exit exiting thread */
    92101        if (THREAD && THREAD->interrupted && istate_from_uspace(istate))
Note: See TracChangeset for help on using the changeset viewer.