Merge "Refine documentation for Process.setThreadPriority" am: fd1985993c am: 32593a60d0

Change-Id: Ia3a5995f2687d7727e6927ea842d9aafe34085f1
This commit is contained in:
Automerger Merge Worker
2020-01-10 10:20:38 +00:00

View File

@@ -740,11 +740,12 @@ public class Process {
/**
* Set the priority of a thread, based on Linux priorities.
*
* @param tid The identifier of the thread/process to change.
*
* @param tid The identifier of the thread/process to change. It should be
* the native thread id but not the managed id of {@link java.lang.Thread}.
* @param priority A Linux priority level, from -20 for highest scheduling
* priority to 19 for lowest scheduling priority.
*
*
* @throws IllegalArgumentException Throws IllegalArgumentException if
* <var>tid</var> does not exist.
* @throws SecurityException Throws SecurityException if your process does