Re: "happens-before" on NIO2 between read/write operation and CompletionHandler call

Alan Bateman via Concurrency-interest <[email protected]>
Newsgroups gmane.comp.java.jsr.166-concurrency
Message-ID <[email protected]>
On 18/11/2019 10:21, Pedro Felix via Concurrency-interest wrote:
> Hi,
>
> Does NIO2 ensures a "happens-before" relation between an 
> AsynchronousByteChannel (ASB) read/write action and the first action 
> in the CompletionHandler "completed" method?
> I've looked in the javadoc documentation and didn't found any mention 
> of "happens-before" being ensured.
>
We should update the javadoc. Can you create an issue in JBS for this or 
bring it to the OpenJDK nio-dev mailing lists for discussion?

-Alan
_______________________________________________
Concurrency-interest mailing list
[email protected]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.