Changeset 27f0d424 in rtems
- Timestamp:
- 10/15/96 21:38:43 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 39cafa5
- Parents:
- f8c6333
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/src/thread.c
rf8c6333 r27f0d424 519 519 the_thread->real_priority = priority; 520 520 the_thread->Start.initial_priority = priority; 521 the_thread->ticks_executed = 0; 521 522 522 523 _Thread_Set_priority( the_thread, priority ); … … 946 947 executing = _Thread_Executing; 947 948 949 /* 950 * Increment the number of ticks this thread has been executing 951 */ 952 953 executing->ticks_executed++; 954 955 /* 956 * If the thread is not preemptible or is not ready, then 957 * just return. 958 */ 959 948 960 if ( !executing->is_preemptible ) 949 961 return; … … 951 963 if ( !_States_Is_ready( executing->current_state ) ) 952 964 return; 965 966 /* 967 * The cpu budget algorithm determines what happens next. 968 */ 953 969 954 970 switch ( executing->budget_algorithm ) { -
cpukit/score/src/thread.c
rf8c6333 r27f0d424 519 519 the_thread->real_priority = priority; 520 520 the_thread->Start.initial_priority = priority; 521 the_thread->ticks_executed = 0; 521 522 522 523 _Thread_Set_priority( the_thread, priority ); … … 946 947 executing = _Thread_Executing; 947 948 949 /* 950 * Increment the number of ticks this thread has been executing 951 */ 952 953 executing->ticks_executed++; 954 955 /* 956 * If the thread is not preemptible or is not ready, then 957 * just return. 958 */ 959 948 960 if ( !executing->is_preemptible ) 949 961 return; … … 951 963 if ( !_States_Is_ready( executing->current_state ) ) 952 964 return; 965 966 /* 967 * The cpu budget algorithm determines what happens next. 968 */ 953 969 954 970 switch ( executing->budget_algorithm ) {
Note: See TracChangeset
for help on using the changeset viewer.