Changeset 88169d9 in mainline for generic/src/proc/thread.c


Ignore:
Timestamp:
2006-06-07T00:34:09Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
977649b
Parents:
590cb380
Message:

Move comment.

Do TLB shootdown also when allocating new ASID.

File:
1 edited

Legend:

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

    r590cb380 r88169d9  
    7676};
    7777
    78 /** Lock protecting threads_head list. For locking rules, see declaration thereof. */
     78/** Lock protecting the threads_btree B+tree. For locking rules, see declaration thereof. */
    7979SPINLOCK_INITIALIZE(threads_lock);
    80 btree_t threads_btree;                  /**< B+tree of all threads. */
     80
     81/** B+tree of all threads.
     82 *
     83 * When a thread is found in the threads_btree B+tree, it is guaranteed to exist as long
     84 * as the threads_lock is held.
     85 */
     86btree_t threads_btree;         
    8187
    8288SPINLOCK_INITIALIZE(tidlock);
     
    553559 * interrupts must be already disabled.
    554560 *
    555  * When a thread is found in threads_btree, it is guaranteed to exist as long
    556  * as the threads_lock is held.
    557  *
    558561 * @param t Pointer to thread.
    559562 *
Note: See TracChangeset for help on using the changeset viewer.