Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 2 and Version 3 of Projects/SystemEvents


Ignore:
Timestamp:
11/02/12 18:31:27 (12 years ago)
Author:
Sh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Projects/SystemEvents

    v2 v3  
    88'''Contact:''' Chris Johns or Joel Sherrill
    99
    10 The Classic RTEMS API Event interface is a user API that provides a efficient task synchronisation. This user API is also used by RTEMS system tasks such as the networking tasks and the libblock cache. These RTEMS services have taken event numbers and use them to wake a blocked task waiting on a specific resource. In the networking task this could be the reception of a packet and in the libblock cache once a block of data has been read into memory. If the task is internal to the service being provided there is no problem how-ever where the task is a user one there are possible problems. A blocked user task may be woken by another user task that happened to send the same event. This would upset the RTEMS service and make it look like a bug that is complex to find. Typically this is avoided in current application because the user is aware of the issue or uses an event number lower down. RTEMS needs a cleaner solution to this issue.
     10System events are available with this commit:
    1111
    12 The project is to add a new "system" Event API for RTEMS system services. The API would be the same as current Event API and the services would be defined and use restricted to that service. If a user uses this API and a service for another use that would be considered a bug so no runtime checking is required. It is hoped the current Super Core code would be used with a different event bit map from the task control block and the current RTEMS services would be updated with a new API call and event.
    13 
    14 Various APIs include an event set as an object independent of tasks.  The first step of this project is to propose a set of operations based upon existing practice.
     12http://git.rtems.org/sebh/rtems.git/commit/?id=0edf263139088e8ac0ff1f0d52513f6fc85677d2
    1513
    1614Some possibilities for further investigation: