Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

How does the aliasing model interact with the concurrency model? #585

Copy link
Copy link
@RalfJung

Description

@RalfJung
Issue body actions

Based on discussions I had with @JoJoDeveloping, it seems like there will have to be some sort of interaction between the aliasing model and the concurrency model. We'll have to figure out the details before finalizing decisions here.

One of the ways in which they interact is the "end of a function call" event that deactivates protectors: if that event happens in one thread, while another thread accesses that location, there's the question of -- did the access happen before or after the end of the call? Miri just uses the actual execution order for this, but in a weak memory world, we will likely have to use something like happens-before here or else we may lose some of the optimizations we were hoping for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-aliasing-modelTopic: Related to the aliasing model (e.g. Stacked/Tree Borrows)Topic: Related to the aliasing model (e.g. Stacked/Tree Borrows)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.