reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Weimer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (REEF-1348) Concurrency and Thread Safety best practices
Date Thu, 21 Apr 2016 21:52:13 GMT

    [ https://issues.apache.org/jira/browse/REEF-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15252829#comment-15252829
] 

Markus Weimer commented on REEF-1348:
-------------------------------------

+1, overall

Are there commonly used attributes we can use? The beauty of the JCIP annotations we use in
Java is that the IDE understands them and can warn about potential issues. If we use our own,
we don't get that benefit.

> Concurrency and Thread Safety best practices
> --------------------------------------------
>
>                 Key: REEF-1348
>                 URL: https://issues.apache.org/jira/browse/REEF-1348
>             Project: REEF
>          Issue Type: Improvement
>          Components: REEF.NET
>            Reporter: Andrew Chung
>
> There has recently been a lot of discussion on concurrency and thread safety best practices
in our REEF.NET PRs but the first step should be to establish a convention that we follow.
To start, we can add two attribute classes {{[ThreadSafe]}} and {{[NotThreadSafe]}}, and document
classes with theses attributes as we move along. This will be the umbrella JIRA item that
encompasses the work to improve concurrency and thread safety documentation in REEF.NET.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message