Changeset 3ff2b54 in mainline for kernel/generic/src/time/clock.c


Ignore:
Timestamp:
2008-11-22T11:26:53Z (16 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/time/clock.c

    r6571b78 r3ff2b54  
    191191                if (!ticks && !PREEMPTION_DISABLED) {
    192192                        scheduler();
     193#ifdef CONFIG_UDEBUG
     194                        /*
     195                         * Give udebug chance to stop the thread
     196                         * before it begins executing.
     197                         */
     198                        if (istate_from_uspace(THREAD->udebug.uspace_state))
     199                                udebug_before_thread_runs();
     200#endif
    193201                }
    194202        }
Note: See TracChangeset for help on using the changeset viewer.