Changeset e366f77 in rtems for cpukit/rtems


Ignore:
Timestamp:
Jan 31, 2017, 7:08:24 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f7ba2945
Parents:
70488f5
git-author:
Sebastian Huber <sebastian.huber@…> (01/31/17 07:08:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/31/17 08:38:07)
Message:

score: Add _Thread_queue_Object_name

Add the special thread queue name _Thread_queue_Object_name to mark
thread queues embedded in an object with identifier. Using the special
thread state STATES_THREAD_QUEUE_WITH_IDENTIFIER is not reliable for
this purpose since the thread wait information and thread state are
protected by different SMP locks in separate critical sections. Remove
STATES_THREAD_QUEUE_WITH_IDENTIFIER.

Add and use _Thread_queue_Object_initialize().

Update #2858.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/regioncreate.c

    r70488f5 re366f77  
    7272
    7373    else {
    74       _Thread_queue_Initialize( &the_region->Wait_queue );
     74      _Thread_queue_Object_initialize( &the_region->Wait_queue );
    7575
    7676      if ( _Attributes_Is_priority( attribute_set ) ) {
Note: See TracChangeset for help on using the changeset viewer.