Changeset 2d93f1f9 in mainline for generic/src/proc/thread.c


Ignore:
Timestamp:
2005-12-06T21:58:18Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a80d406
Parents:
36e7b6c3
Message:

Named spinlocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/thread.c

    r36e7b6c3 r2d93f1f9  
    9797        THREAD = NULL;
    9898        nrdy = 0;
    99         spinlock_initialize(&threads_lock);
     99        spinlock_initialize(&threads_lock, "threads_lock");
    100100        list_initialize(&threads_head);
    101101}
     
    174174                ipl_t ipl;
    175175       
    176                 spinlock_initialize(&t->lock);
     176                spinlock_initialize(&t->lock, "thread_t_lock");
    177177       
    178178                frame_ks = frame_alloc(FRAME_KA, ONE_FRAME);
Note: See TracChangeset for help on using the changeset viewer.