-
Notifications
You must be signed in to change notification settings - Fork 420
Closed
Labels
bugA bug in the library or documentation.A bug in the library or documentation.questionAn user question, does not change the library.An user question, does not change the library.
Milestone
Description
C version does not compare the read value which allows another update to sneak in.
Compare: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/ext/concurrent/atomic_reference.c#L52-L56 and http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/concurrent/atomic/AtomicReference.java#139
Metadata
Metadata
Assignees
Labels
bugA bug in the library or documentation.A bug in the library or documentation.questionAn user question, does not change the library.An user question, does not change the library.