public class Threads extends java.lang.Object
| Constructor and Description | 
|---|
| Threads() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | getCurrentThreadIsRealTime()Get if the current thread is realtime. | 
| static int | getCurrentThreadPriority()Get the thread priority for the current thread. | 
| static boolean | setCurrentThreadPriority(boolean realTime,
                        int priority)Sets the thread priority for the current thread. | 
public Threads()
public static int getCurrentThreadPriority()
public static boolean getCurrentThreadIsRealTime()
public static boolean setCurrentThreadPriority(boolean realTime, int priority)
realTime - Set to true to set a realtime priority, false for standard
     prioritypriority - Priority to set the thread to. Scaled 1-99, with 1 being
     highest. On RoboRIO, priority is ignored for non realtime setting