Changeset 68b1b17 in rtems


Ignore:
Timestamp:
Oct 24, 2011, 12:54:50 PM (8 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
74bfa2e4
Parents:
a5b4ab6a
Message:

2011-10-24 Ralf Corsépius <ralf.corsepius@…>

PR 1942/cpukit:

  • score/src/schedulercbsdetachthread.c: Move initialization of var "sched_info" down (Avoid it being used uninitialized).
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra5b4ab6a r68b1b17  
     12011-10-24      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        PR 1942/cpukit:
     4        * score/src/schedulercbsdetachthread.c: Move initialization of var
     5        "sched_info" down (Avoid it being used uninitialized).
     6
    172011-10-23      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • cpukit/score/src/schedulercbsdetachthread.c

    ra5b4ab6a r68b1b17  
    3232  if ( the_thread ) {
    3333    _Thread_Enable_dispatch();
    34     sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
    3534  }
    3635
     
    4746
    4847  _Scheduler_CBS_Server_list[server_id]->task_id = -1;
     48  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
    4949  sched_info->cbs_server = NULL;
    5050
Note: See TracChangeset for help on using the changeset viewer.