wake-0 / fhvOS

This repository contains an os for the arm cortex a8 in combination with beaglebone.
GNU General Public License v2.0
7 stars 1 forks source link

[Scheduler] AtomicStart/End() should disable scheduling #89

Closed trylimits closed 9 years ago

trylimits commented 9 years ago

Acc. to today's meeting the functions AtomicStart() resp. AtomicEnd() should enable/disable the scheduling. There are existing functions named SchedulerEnableScheduling() and SchedulerDisableScheduling() which can be used for that purpose. However, we should wrap these calls maybe into KernelAtomicStart() and KernelAtomicEnd() to provide a more "global" API.

trylimits commented 9 years ago

Above commit implements the functions KernelAtomicStart() and KernelAtomicEnd() which disables/enables scheduling.

We should discuss if we get rid of CPUAtomicStart() and CPUAtomicEnd() which should not be used anymore.

trylimits commented 9 years ago

@mpe5651 Could you please remove those functions of the above comment and close this?

trylimits commented 9 years ago

Fixed and done