mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-10 01:23:22 +00:00
2011-01-21 Eric Norum <wenorum@lbl.gov>
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2011-01-21 Eric Norum <wenorum@lbl.gov>
|
||||||
|
|
||||||
|
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
|
||||||
|
|
||||||
2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||||
|
|
||||||
PR 1718/cpukit
|
PR 1718/cpukit
|
||||||
|
|||||||
@@ -914,7 +914,9 @@ rtems_capture_switch_task (rtems_tcb* current_task,
|
|||||||
rtems_capture_task_t* ct;
|
rtems_capture_task_t* ct;
|
||||||
rtems_capture_task_t* ht;
|
rtems_capture_task_t* ht;
|
||||||
|
|
||||||
if (_States_Is_transient (current_task->current_state))
|
|
||||||
|
if (_States_Is_transient (current_task->current_state)
|
||||||
|
|| _States_Is_dormant (current_task->current_state))
|
||||||
{
|
{
|
||||||
rtems_id ct_id = current_task->Object.id;
|
rtems_id ct_id = current_task->Object.id;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user