Skip to content

Android: implement support for pthread synchronization primitives #3617

Closed
@RalfJung

Description

@RalfJung

We don't currently support the pthread shims on Android. This shouldn't be too hard: the shims are implemented in src/shims/unix/sync.rs, and all that needs to be done is figure out how big the pthread types are on Android and then picking suitable offsets for Miri to store its data in there.

The test command for this is ./miri --target aarch64-linux-android pthread-sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-concurrencyArea: affects our concurrency (multi-thread) supportA-shimsArea: This affects the external function shimsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementE-good-first-issueA good way to start contributing, mentoring is available

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions