Skip to content

Conversation

pcwalton
Copy link
Contributor

...hat follow the "eq" format

r? @brson

@brson
Copy link
Contributor

brson commented Oct 27, 2012

r+

pcwalton added a commit that referenced this pull request Oct 29, 2012
 	rustc: Translate monomorphic intra-crate automatically-derived method…
@pcwalton pcwalton merged commit 17a875b into rust-lang:incoming Oct 29, 2012
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Sep 17, 2024
…fJung

detect when pthread_rwlock_t is moved

For some implementations of pthreads, the address of pthread_rwlock_t (or its fields) is used to identify the lock. That means that if the contents of a pthread_rwlock_t are moved in memory, effectively a new lock object is created, which is completely independted from the original. Thus we want to detect when when such objects are moved and show an error.

see also rust-lang#3749 for more context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants