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

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

@ghost

Description

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions