Changeset bdba5371 in rtems for cpukit/score/src/corerwlock.c


Ignore:
Timestamp:
06/20/07 19:21:01 (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.