Access contention explanation

Status
Not open for further replies.

jani12

Advanced Member level 4
Joined
Oct 30, 2014
Messages
108
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,298
Activity points
2,536
Our Advanced Drive Assist System(ADAS) product is based on Two Renesas RH850 / U2A16 Microcontrollers. The programming language is Embedded 'C'.

When register is accessed by multiple interrupts and tasks, perform exclusive control to prevent access contention. When access contention causes no problems (e.g. contention for the same value), describe it.

I understand the first sentence above. Please explain second sentence with at least One example.
 

I believe they mean when two tasks for writing same value to a register.
 

When access contention causes no problems (e.g. contention for the same value), describe it

By saying 'describe it' could it mean to add a comment in the code, explaining that you arranged program flow to avoid creating contentions?
 
Reactions: jani12

    jani12

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…