Skip to content

Synchronisation layer improvments #407

@pitr-ch

Description

@pitr-ch
  • Prefer composition over inheritance of the Synchronisation::Object. Keep it internally though for our classes to avoid indirections, forbidding subclassing.
  • Add abstraction for CAS on fields (currently AtomicReference in a final field - with indirection) to be able to swap to better in place implementation where they become available.
  • break down the supported tools to avoid cost of instantiating mutex/condition when not needed (e.g. when only final fields are used)

Metadata

Metadata

Assignees

Labels

enhancementAdding features, adding tests, improving documentation.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions