Changeset ebb9e8c in rtems
- Timestamp:
- 01/16/23 08:36:54 (2 months ago)
- Branches:
- master
- Children:
- d9f3dcb
- Parents:
- a932d5d6
- git-author:
- Zhongjie Zhu <zhongjiezhu1@…> (01/16/23 08:36:54)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (02/07/23 16:45:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/include/rtems/score/threaddispatch.h
ra932d5d6 rebb9e8c 223 223 { 224 224 Per_CPU_Control *cpu_self; 225 226 #if defined( RTEMS_SMP ) || defined( RTEMS_PROFILING ) 225 227 ISR_lock_Context lock_context; 226 228 227 #if defined( RTEMS_SMP ) || defined( RTEMS_PROFILING )228 229 _ISR_lock_ISR_disable( &lock_context ); 229 #endif230 230 231 231 cpu_self = _Thread_Dispatch_disable_critical( &lock_context ); 232 232 233 #if defined( RTEMS_SMP ) || defined( RTEMS_PROFILING )234 233 _ISR_lock_ISR_enable( &lock_context ); 234 #else 235 cpu_self = _Thread_Dispatch_disable_critical( NULL ); 235 236 #endif 236 237
Note: See TracChangeset
for help on using the changeset viewer.