Changeset bdba5371 in rtems


Ignore:
Timestamp:
Jun 20, 2007, 7:21:01 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
cb6e9bf
Parents:
7c5e3b3
Message:

2007-06-20 Joel Sherrill <joel.sherrill@…>

  • score/src/corerwlock.c: Make sure structure is fully initialized. When reused, some fields will not be zero like at initialization.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r7c5e3b3 rbdba5371  
     12007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * score/src/corerwlock.c: Make sure structure is fully initialized.
     4        When reused, some fields will not be zero like at initialization.
     5
    162007-06-20      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/score/src/corerwlock.c

    r7c5e3b3 rbdba5371  
    5353  the_rwlock->number_of_waiting_threads = 0;
    5454*/
     55  the_rwlock->number_of_readers = 0;
     56  the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;
    5557
    5658  _Thread_queue_Initialize(
Note: See TracChangeset for help on using the changeset viewer.