Changeset 05e2a7ad in mainline for generic/src/proc/thread.c


Ignore:
Timestamp:
2005-12-07T13:32:31Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
839470f
Parents:
253f8590
Message:

Add comments describing locking rules for some locks.
Cleanup.

File:
1 edited

Legend:

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

    r253f8590 r05e2a7ad  
    5555char *thread_states[] = {"Invalid", "Running", "Sleeping", "Ready", "Entering", "Exiting"}; /**< Thread states */
    5656
    57 spinlock_t threads_lock;
    58 link_t threads_head;
     57spinlock_t threads_lock;        /**< Lock protecting threads_head list. For locking rules, see declaration thereof. */
     58link_t threads_head;            /**< List of all threads. */
    5959
    6060static spinlock_t tidlock;
Note: See TracChangeset for help on using the changeset viewer.