diff options
| author | Neil Fuller <nfuller@google.com> | 2015-11-24 18:19:06 +0000 |
|---|---|---|
| committer | Neil Fuller <nfuller@google.com> | 2015-11-26 13:33:48 +0000 |
| commit | bf0dc0fba790cf95f76870c37469703f8f20a57c (patch) | |
| tree | 85e107bd440377133319ea308c991b9ab442d959 /core/java/android/net/LocalSocket.java | |
| parent | 764e7960cd31f12223ac6cfe72257e2fd50c7f81 (diff) | |
Add thread safety documentation
An upcoming change will remove "synchronized" from the API docs. This change
documents those cases where the guarantees can be determined from code
inspection.
Bug: 25767152
Change-Id: I75083ce01513ed315222304fe3f34190d40748cb
Diffstat (limited to 'core/java/android/net/LocalSocket.java')
| -rw-r--r-- | core/java/android/net/LocalSocket.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/net/LocalSocket.java b/core/java/android/net/LocalSocket.java index a374a869d13b..e14facb1abb5 100644 --- a/core/java/android/net/LocalSocket.java +++ b/core/java/android/net/LocalSocket.java @@ -25,7 +25,8 @@ import java.net.SocketOptions; /** * Creates a (non-server) socket in the UNIX-domain namespace. The interface - * here is not entirely unlike that of java.net.Socket + * here is not entirely unlike that of java.net.Socket. This class and the streams + * returned from it may be used from multiple threads. */ public class LocalSocket implements Closeable { |
