Changeset e6a78b9 in mainline for kernel/generic/src/synch/mutex.c


Ignore:
Timestamp:
2012-06-29T15:31:44Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9432f08
Parents:
34ab31c (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/synch/mutex.c

    r34ab31c re6a78b9  
    6363}
    6464
     65#define MUTEX_DEADLOCK_THRESHOLD        100000000
     66
    6567/** Acquire mutex.
    6668 *
     
    9193                bool deadlock_reported = false;
    9294                do {
    93                         if (cnt++ > DEADLOCK_THRESHOLD) {
     95                        if (cnt++ > MUTEX_DEADLOCK_THRESHOLD) {
    9496                                printf("cpu%u: looping on active mutex %p\n",
    9597                                    CPU->id, mtx);
Note: See TracChangeset for help on using the changeset viewer.