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

Changeset 1d432f9 in mainline for kernel/generic/src/udebug/udebug.c


Ignore:
Timestamp:
2010-05-31T22:33:44Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
179d052
Parents:
3a2b636
Message:

Reflect assumptions about lock and interrupt state in functions themselves.

File:
1 edited

Legend:

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

    r3a2b636 r1d432f9  
    389389 * FINISHED event for each of them.
    390390 *
    391  * @param task Task structure. ta->udebug.lock must be already locked.
     391 * @param task Task structure. task->udebug.lock must be already locked.
    392392 *
    393393 * @return Zero on success or negative error code.
     
    396396int udebug_task_cleanup(struct task *task)
    397397{
     398        ASSERT(mutex_locked(&task->udebug.lock));
     399
    398400        if ((task->udebug.dt_state != UDEBUG_TS_BEGINNING) &&
    399401            (task->udebug.dt_state != UDEBUG_TS_ACTIVE)) {
Note: See TracChangeset for help on using the changeset viewer.