Changeset 7e4e532 in mainline for generic/src/proc/scheduler.c


Ignore:
Timestamp:
2006-02-08T23:37:38Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
874878a
Parents:
bb68433
Message:

Reimplement ASID stealing logic.
This time, hopefully, with correct synchronization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/scheduler.c

    rbb68433 r7e4e532  
    328328                         * Replace the old one with the new one.
    329329                         */
    330                         as_install(as2);
     330                        as_switch(as1, as2);
    331331                }
    332332                TASK = THREAD->task;   
     
    336336
    337337        #ifdef SCHEDULER_VERBOSE
    338         printf("cpu%d: tid %d (priority=%d,ticks=%d,nrdy=%d)\n", CPU->id, THREAD->tid, THREAD->priority, THREAD->ticks, CPU->nrdy);
     338        printf("cpu%d: tid %d (priority=%d,ticks=%d,nrdy=%d)\n", CPU->id, THREAD->tid, THREAD->priority, THREAD->ticks, atomic_get(&CPU->nrdy));
    339339        #endif 
    340340
Note: See TracChangeset for help on using the changeset viewer.