Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 40a0e504 in mainline


Ignore:
Timestamp:
2009-05-14T21:56:44Z (13 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master
Children:
acf37bc
Parents:
9ba6262
Message:

udebug_stoppable_begin/end() should always proceed. In any case they must not use independet prechecks, as this could unbalance them.

File:
1 edited

Legend:

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

    r9ba6262 r40a0e504  
    138138        ASSERT(TASK);
    139139
    140         /* Early check for undebugged tasks */
    141         if (!udebug_thread_precheck()) {
    142                 return;
    143         }
    144 
    145140        mutex_lock(&TASK->udebug.lock);
    146141
     
    203198void udebug_stoppable_end(void)
    204199{
    205         /* Early check for undebugged tasks */
    206         if (!udebug_thread_precheck()) {
    207                 return;
    208         }
    209 
    210200restart:
    211201        mutex_lock(&TASK->udebug.lock);
Note: See TracChangeset for help on using the changeset viewer.