Changeset 3da2f471 in rtems


Ignore:
Timestamp:
Mar 22, 2018, 6:47:46 AM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
2c65588
Parents:
dc1ea01
git-author:
Sebastian Huber <sebastian.huber@…> (03/22/18 06:47:46)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/22/18 07:39:07)
Message:

mpci: Update due to thread queue API changes

Update #3117.
Update #3182.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/mpci.c

    rdc1ea01 r3da2f471  
    220220
    221221static void _MPCI_Enqueue_callout(
    222   Thread_queue_Queue   *queue,
    223   Thread_Control       *the_thread,
    224   Thread_queue_Context *queue_context
    225 )
    226 {
    227   _Thread_Dispatch_unnest( _Per_CPU_Get() );
     222  Thread_queue_Queue     *queue,
     223  Thread_Control         *the_thread,
     224  struct Per_CPU_Control *cpu_self,
     225  Thread_queue_Context   *queue_context
     226)
     227{
     228  _Thread_Dispatch_unnest( cpu_self );
    228229}
    229230
     
    254255    _MPCI_Enqueue_callout
    255256  );
    256   _Thread_queue_Context_set_relative_timeout( &queue_context, the_packet->timeout );
     257  _Thread_queue_Context_set_enqueue_timeout_ticks( &queue_context, the_packet->timeout );
    257258
    258259  cpu_self = _Thread_Dispatch_disable();
     
    337338  executing = _Thread_Get_executing();
    338339  _Thread_queue_Context_initialize( &queue_context );
    339   _Thread_queue_Context_set_no_timeout( &queue_context );
     340  _Thread_queue_Context_set_enqueue_do_nothing_extra( &queue_context );
    340341
    341342  for ( ; ; ) {
Note: See TracChangeset for help on using the changeset viewer.