Changeset 1666ffe5 in rtems


Ignore:
Timestamp:
Oct 19, 2017, 12:17:31 PM (17 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c3105894
Parents:
6de1f92
git-author:
Sebastian Huber <sebastian.huber@…> (10/19/17 12:17:31)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/24/17 07:37:28)
Message:

score: Rename function threadq support function

Rename _Thread_queue_Context_set_do_nothing_enqueue_callout() into
_Thread_queue_Context_set_enqueue_do_nothing_extra(). More
_Thread_queue_Context_set_enqueue_*() functions will follow.

Update #3117.
Update #3182.

Location:
cpukit
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/mutexlocksupp.c

    r6de1f92 r1666ffe5  
    3535      STATES_WAITING_FOR_MUTEX
    3636    );
    37     _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context );
     37    _Thread_queue_Context_set_enqueue_do_nothing_extra( queue_context );
    3838    _Thread_queue_Context_set_deadlock_callout(
    3939      queue_context,
  • cpukit/posix/src/nanosleep.c

    r6de1f92 r1666ffe5  
    5252    STATES_WAITING_FOR_TIME | STATES_INTERRUPTIBLE_BY_SIGNAL
    5353  );
    54   _Thread_queue_Context_set_enqueue_callout(
    55     &queue_context,
    56     _Thread_queue_Enqueue_do_nothing
    57   );
     54  _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
    5855
    5956  if ( discipline == WATCHDOG_ABSOLUTE ) {
  • cpukit/posix/src/pbarrierwait.c

    r6de1f92 r1666ffe5  
    5454      STATES_WAITING_FOR_BARRIER
    5555    );
    56     _Thread_queue_Context_set_do_nothing_enqueue_callout( &queue_context );
     56    _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
    5757    _Thread_queue_Context_set_no_timeout( &queue_context );
    5858    _Thread_queue_Enqueue(
  • cpukit/posix/src/pthreadjoin.c

    r6de1f92 r1666ffe5  
    4040
    4141  _Thread_queue_Context_initialize( &queue_context );
    42   _Thread_queue_Context_set_do_nothing_enqueue_callout( &queue_context );
     42  _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
    4343  _Thread_queue_Context_set_no_timeout( &queue_context );
    4444  the_thread = _Thread_Get( thread, &queue_context.Lock_context.Lock_context );
  • cpukit/posix/src/semtimedwait.c

    r6de1f92 r1666ffe5  
    7373      STATES_WAITING_FOR_SEMAPHORE
    7474    );
    75     _Thread_queue_Context_set_do_nothing_enqueue_callout( &queue_context );
     75    _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
    7676    _Thread_queue_Context_set_relative_timeout( &queue_context, ticks );
    7777    _Thread_queue_Context_set_ISR_level( &queue_context, level );
  • cpukit/posix/src/sigtimedwait.c

    r6de1f92 r1666ffe5  
    161161    STATES_WAITING_FOR_SIGNAL | STATES_INTERRUPTIBLE_BY_SIGNAL
    162162  );
    163   _Thread_queue_Context_set_do_nothing_enqueue_callout( &queue_context );
     163  _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
    164164  _Thread_queue_Enqueue(
    165165    &_POSIX_signals_Wait_queue.Queue,
  • cpukit/score/include/rtems/score/coresemimpl.h

    r6de1f92 r1666ffe5  
    189189    STATES_WAITING_FOR_SEMAPHORE
    190190  );
    191   _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context );
     191  _Thread_queue_Context_set_enqueue_do_nothing_extra( queue_context );
    192192  _Thread_queue_Enqueue(
    193193    &the_semaphore->Wait_queue.Queue,
  • cpukit/score/include/rtems/score/threadq.h

    r6de1f92 r1666ffe5  
    205205   * thread dispatching disabled.  Afterwards the thread is blocked.
    206206   *
    207    * @see _Thread_queue_Enqueue_do_nothing().
     207   * @see _Thread_queue_Enqueue_do_nothing_extra().
    208208   */
    209209  Thread_queue_Enqueue_callout enqueue_callout;
  • cpukit/score/include/rtems/score/threadqimpl.h

    r6de1f92 r1666ffe5  
    6363} Thread_queue_Syslock_queue;
    6464
    65 void _Thread_queue_Enqueue_do_nothing(
     65void _Thread_queue_Enqueue_do_nothing_extra(
    6666  Thread_queue_Queue   *queue,
    6767  Thread_Control       *the_thread,
     
    143143 */
    144144RTEMS_INLINE_ROUTINE void
    145 _Thread_queue_Context_set_do_nothing_enqueue_callout(
    146   Thread_queue_Context *queue_context
    147 )
    148 {
    149   queue_context->enqueue_callout = _Thread_queue_Enqueue_do_nothing;
     145_Thread_queue_Context_set_enqueue_do_nothing_extra(
     146  Thread_queue_Context *queue_context
     147)
     148{
     149  queue_context->enqueue_callout = _Thread_queue_Enqueue_do_nothing_extra;
    150150}
    151151
     
    616616 *
    617617 * - _Thread_queue_Context_set_enqueue_callout() or
    618  *   _Thread_queue_Context_set_do_nothing_enqueue_callout(),
     618 *   _Thread_queue_Context_set_enqueue_do_nothing_extra(),
    619619 *
    620620 * - _Thread_queue_Context_set_no_timeout() or
     
    652652 *       STATES_WAITING_FOR_MUTEX
    653653 *     );
    654  *     _Thread_queue_Context_set_do_nothing_enqueue_callout( &queue_context );
     654 *     _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
    655655 *     _Thread_queue_Context_set_no_timeout( &queue_context );
    656656 *     _Thread_queue_Context_set_deadlock_callout(
  • cpukit/score/src/corebarrierwait.c

    r6de1f92 r1666ffe5  
    4949      STATES_WAITING_FOR_BARRIER
    5050    );
    51     _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context );
     51    _Thread_queue_Context_set_enqueue_do_nothing_extra( queue_context );
    5252    _Thread_queue_Enqueue(
    5353      &the_barrier->Wait_queue.Queue,
  • cpukit/score/src/coremsgseize.c

    r6de1f92 r1666ffe5  
    118118    STATES_WAITING_FOR_MESSAGE
    119119  );
    120   _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context );
     120  _Thread_queue_Context_set_enqueue_do_nothing_extra( queue_context );
    121121  _Thread_queue_Enqueue(
    122122    &the_message_queue->Wait_queue.Queue,
  • cpukit/score/src/coremsgsubmit.c

    r6de1f92 r1666ffe5  
    136136      STATES_WAITING_FOR_MESSAGE
    137137    );
    138     _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context );
     138    _Thread_queue_Context_set_enqueue_do_nothing_extra( queue_context );
    139139    _Thread_queue_Enqueue(
    140140      &the_message_queue->Wait_queue.Queue,
  • cpukit/score/src/coremutexseize.c

    r6de1f92 r1666ffe5  
    3737      STATES_WAITING_FOR_MUTEX
    3838    );
    39     _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context );
     39    _Thread_queue_Context_set_enqueue_do_nothing_extra( queue_context );
    4040    _Thread_queue_Context_set_deadlock_callout(
    4141      queue_context,
  • cpukit/score/src/corerwlockobtainread.c

    r6de1f92 r1666ffe5  
    7878   STATES_WAITING_FOR_RWLOCK
    7979  );
    80   _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context );
     80  _Thread_queue_Context_set_enqueue_do_nothing_extra( queue_context );
    8181  _Thread_queue_Enqueue(
    8282     &the_rwlock->Queue.Queue,
  • cpukit/score/src/corerwlockobtainwrite.c

    r6de1f92 r1666ffe5  
    7272    STATES_WAITING_FOR_RWLOCK
    7373  );
    74   _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context );
     74  _Thread_queue_Context_set_enqueue_do_nothing_extra( queue_context );
    7575  _Thread_queue_Enqueue(
    7676     &the_rwlock->Queue.Queue,
  • cpukit/score/src/futex.c

    r6de1f92 r1666ffe5  
    9595      STATES_WAITING_FOR_FUTEX
    9696    );
    97     _Thread_queue_Context_set_do_nothing_enqueue_callout( &queue_context );
     97    _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
    9898    _Thread_queue_Context_set_no_timeout( &queue_context );
    9999    _Thread_queue_Context_set_ISR_level( &queue_context, level );
  • cpukit/score/src/mutex.c

    r6de1f92 r1666ffe5  
    103103    STATES_WAITING_FOR_MUTEX
    104104  );
    105   _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context );
     105  _Thread_queue_Context_set_enqueue_do_nothing_extra( queue_context );
    106106  _Thread_queue_Context_set_deadlock_callout(
    107107    queue_context,
  • cpukit/score/src/semaphore.c

    r6de1f92 r1666ffe5  
    6161      STATES_WAITING_FOR_SEMAPHORE
    6262    );
    63     _Thread_queue_Context_set_do_nothing_enqueue_callout( &queue_context );
     63    _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
    6464    _Thread_queue_Context_set_no_timeout( &queue_context );
    6565    _Thread_queue_Context_set_ISR_level( &queue_context, level );
  • cpukit/score/src/threadqenqueue.c

    r6de1f92 r1666ffe5  
    357357}
    358358
    359 void _Thread_queue_Enqueue_do_nothing(
     359void _Thread_queue_Enqueue_do_nothing_extra(
    360360  Thread_queue_Queue   *queue,
    361361  Thread_Control       *the_thread,
Note: See TracChangeset for help on using the changeset viewer.