Changeset b23c88e in mainline for kernel/generic/include/proc/thread.h


Ignore:
Timestamp:
2012-07-11T05:45:48Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b68ae24
Parents:
9f8745c5
Message:

preemption_disable: Replaced memory barriers with compiler barriers. Added checks if reschedule is needed once preemption is enabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/proc/thread.h

    r9f8745c5 rb23c88e  
    155155        state_t state;
    156156       
     157        /** The thread would have been rescheduled had it not disabled preemption.*/
     158        bool need_resched;
     159       
    157160        /** Thread CPU. */
    158161        cpu_t *cpu;
Note: See TracChangeset for help on using the changeset viewer.