Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Re-entrant arrays, are not re-entrant. #86

Open
ghost opened this issue Feb 23, 2016 · 1 comment
Open

Re-entrant arrays, are not re-entrant. #86

ghost opened this issue Feb 23, 2016 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Feb 23, 2016

Array.h describes itself as "A re-entrant array class". The implementation provides synchronization around array extension, but there is no mechanism to provide synchronization in access to individual array elements for element types that are not single copy atomic.

Consider two threads executing:

a[n] = b and x = a[n]

for some specific value of n in parallel, 'x' may observe a partial copy of 'b'.

@ciarmcom
Copy link
Member

ARM Internal Ref: IOTSFW-2103

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant