Added @ThreadSafe to a bunch of stuff.

This commit is contained in:
Adam Murdoch
2012-09-08 10:11:39 +10:00
parent f6ea1d8e33
commit 3f478d1665
4 changed files with 27 additions and 3 deletions

View File

@@ -2,14 +2,14 @@ package net.rubygrapefruit.platform;
/**
* Functions to query and modify a process' state.
*
* Supported on Linux, OS X, Windows.
*/
@ThreadSafe
public interface Process extends NativeIntegration {
/**
* Returns the process identifier.
*
* @throws NativeException On failure.
*/
@ThreadSafe
int getProcessId() throws NativeException;
}