Changeset c3d8d9e in rtems for cpukit/rtems


Ignore:
Timestamp:
May 23, 2016, 4:55:49 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
631b3c8
Parents:
8866e62
git-author:
Sebastian Huber <sebastian.huber@…> (05/23/16 04:55:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/25/16 10:43:53)
Message:

score: Get rid of mp_id parameter

Get rid of the mp_id parameter used for some thread queue methods. Use
THREAD_QUEUE_QUEUE_TO_OBJECT() instead.

Location:
cpukit/rtems/src
Files:
10 edited

Legend:

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

    r8866e62 rc3d8d9e  
    3838  _CORE_barrier_Acquire_critical( &the_barrier->Barrier, &lock_context );
    3939  _Objects_Close( &_Barrier_Information, &the_barrier->Object );
    40   _CORE_barrier_Flush( &the_barrier->Barrier, NULL, 0, &lock_context );
     40  _CORE_barrier_Flush( &the_barrier->Barrier, NULL, &lock_context );
    4141  _Barrier_Free( the_barrier );
    4242  _Objects_Allocator_unlock();
  • cpukit/rtems/src/barrierrelease.c

    r8866e62 rc3d8d9e  
    4343    &the_barrier->Barrier,
    4444    NULL,
    45     0,
    4645    &lock_context
    4746  );
  • cpukit/rtems/src/barrierwait.c

    r8866e62 rc3d8d9e  
    4545    timeout,
    4646    NULL,
    47     0,
    4847    &lock_context
    4948  );
  • cpukit/rtems/src/msgqbroadcast.c

    r8866e62 rc3d8d9e  
    5555    size,
    5656    _Message_queue_Core_message_queue_mp_support,
    57     id,
    5857    count,
    5958    &lock_context
  • cpukit/rtems/src/msgqdelete.c

    r8866e62 rc3d8d9e  
    5454    &the_message_queue->message_queue,
    5555    _Message_queue_MP_Send_object_was_deleted,
    56     id,
    5756    &lock_context
    5857  );
  • cpukit/rtems/src/msgqsend.c

    r8866e62 rc3d8d9e  
    5454    size,
    5555    _Message_queue_Core_message_queue_mp_support,
    56     id,
    5756    false,   /* sender does not block */
    5857    0,       /* no timeout */
  • cpukit/rtems/src/msgqurgent.c

    r8866e62 rc3d8d9e  
    5454    size,
    5555    _Message_queue_Core_message_queue_mp_support,
    56     id,
    5756    false,   /* sender does not block */
    5857    0,       /* no timeout */
  • cpukit/rtems/src/semdelete.c

    r8866e62 rc3d8d9e  
    102102      _CORE_mutex_Was_deleted,
    103103      _Semaphore_MP_Send_object_was_deleted,
    104       id,
    105104      &lock_context
    106105    );
     
    110109      &the_semaphore->Core_control.semaphore,
    111110      _Semaphore_MP_Send_object_was_deleted,
    112       id,
    113111      &lock_context
    114112    );
  • cpukit/rtems/src/semflush.c

    r8866e62 rc3d8d9e  
    5757      _CORE_mutex_Unsatisfied_nowait,
    5858      _Semaphore_MP_Send_object_was_deleted,
    59       id,
    6059      &lock_context
    6160    );
     
    6867      &the_semaphore->Core_control.semaphore,
    6968      _Semaphore_MP_Send_object_was_deleted,
    70       id,
    7169      &lock_context
    7270    );
  • cpukit/rtems/src/semrelease.c

    r8866e62 rc3d8d9e  
    6060      &the_semaphore->Core_control.mutex,
    6161      _Semaphore_Core_mutex_mp_support,
    62       id,
    6362      &lock_context
    6463    );
     
    6867      &the_semaphore->Core_control.semaphore,
    6968      _Semaphore_Core_mutex_mp_support,
    70       id,
    7169      &lock_context
    7270    );
Note: See TracChangeset for help on using the changeset viewer.