mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 19:25:39 +08:00
2001-01-16 Joel Sherrill <joel@OARcorp.com>
* src/taskmode.c: Ensure the this service does not dispatch before tasking is enabled at initialization time.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2001-01-16 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* src/taskmode.c: Ensure the this service does not dispatch before
|
||||
tasking is enabled at initialization time.
|
||||
|
||||
2002-01-07 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* optman/, optman/.cvsignore, optman/Makefile.am, optman/no-dpmem.c,
|
||||
|
||||
@@ -114,8 +114,9 @@ rtems_status_code rtems_task_mode(
|
||||
}
|
||||
}
|
||||
|
||||
if ( _Thread_Evaluate_mode() || needs_asr_dispatching )
|
||||
_Thread_Dispatch();
|
||||
if ( _System_state_Is_up(_System_state_Current) )
|
||||
if ( _Thread_Evaluate_mode() || needs_asr_dispatching )
|
||||
_Thread_Dispatch();
|
||||
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2001-01-16 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* src/taskmode.c: Ensure the this service does not dispatch before
|
||||
tasking is enabled at initialization time.
|
||||
|
||||
2002-01-07 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* optman/, optman/.cvsignore, optman/Makefile.am, optman/no-dpmem.c,
|
||||
|
||||
@@ -114,8 +114,9 @@ rtems_status_code rtems_task_mode(
|
||||
}
|
||||
}
|
||||
|
||||
if ( _Thread_Evaluate_mode() || needs_asr_dispatching )
|
||||
_Thread_Dispatch();
|
||||
if ( _System_state_Is_up(_System_state_Current) )
|
||||
if ( _Thread_Evaluate_mode() || needs_asr_dispatching )
|
||||
_Thread_Dispatch();
|
||||
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user