• CeSetThreadQuantum and CeGetThreadQuantum
  • Introduction




    Download 1,09 Mb.
    bet4/62
    Sana21.03.2017
    Hajmi1,09 Mb.
    #917
    1   2   3   4   5   6   7   8   9   ...   62
    2.1.1.1 Kernel Services

    Thread response times have been improved in Windows CE 3.0 by the tightening of the upper bounds on scheduling latencies for high-priority Interrupt Service Threads (IST). This improvement in thread response allows developers to know specifically when the thread transitions occur, and aids them in creating new embedded applications by increasing the capabilities of monitoring and controlling hardware in Windows CE.



    • Shorter Interrupt Service Routine (ISR) latencies. Because the kernel uses the interrupt ID that is provided by the ISR to set the event that the IST is waiting on, a short ISR latency is essential for a real-time system.

    • Support for nested interrupts. Support has been added for nested interrupts, which allows interrupts at higher priority levels to be serviced immediately, instead of potentially waiting for a lower-priority ISR to complete.

    • Increased priority levels. Additional priority levels (a total of 256) allow users more flexibility in controlling the scheduling of embedded systems.

    • Support for semaphores. In addition to the currently supported mutexes and events, Windows CE has been expanded to support semaphores.

    • The ability to change the quantum of any thread in the system. This includes support for two APIs: CeSetThreadQuantum and CeGetThreadQuantum.

    • Kernel-level security. A new security model restricts access to system APIs that a rogue application could call to damage the platform. An OEM can specify whether modules and processes can run or not run and specify those that are fully trusted on a particular platform. Two new APIs allow software developers to retrieve the assigned trust level of a module or a process.



    Download 1,09 Mb.
    1   2   3   4   5   6   7   8   9   ...   62




    Download 1,09 Mb.