Changeset 266294a9 in mainline for generic/src/synch/spinlock.c


Ignore:
Timestamp:
2006-02-05T17:01:03Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5c9a08b
Parents:
9b9e385
Message:

Added constructor/destructor calls to SLAB.
Changed allocation of thread_t structure to use SLAB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/synch/spinlock.c

    r9b9e385 r266294a9  
    6969        preemption_disable();
    7070        while (test_and_set(&sl->val)) {
    71                 if (i++ > 300000) {
     71                if (i++ > 300000 && sl!=&printflock) {
    7272                        printf("cpu%d: looping on spinlock %p:%s, caller=%p",
    7373                               CPU->id, sl, sl->name, CALLER);
Note: See TracChangeset for help on using the changeset viewer.