Changeset 59e07c91 in mainline for generic/src/proc/scheduler.c


Ignore:
Timestamp:
2005-11-10T13:56:26Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0172eba
Parents:
13fe013
Message:

Define atomic_t type.

File:
1 edited

Legend:

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

    r13fe013 r59e07c91  
    4949#include <debug.h>
    5050
    51 volatile count_t nrdy;
     51atomic_t nrdy;
    5252
    5353
     
    182182                spinlock_unlock(&CPU->lock);
    183183
    184                 atomic_dec((int *) &nrdy);
     184                atomic_dec(&nrdy);
    185185                r->n--;
    186186
     
    558558                                        spinlock_unlock(&cpu->lock);
    559559
    560                                         atomic_dec((int *)&nrdy);
     560                                        atomic_dec(&nrdy);
    561561
    562562                                        r->n--;
Note: See TracChangeset for help on using the changeset viewer.