001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.hal; 006 007public class ThreadsJNI extends JNIWrapper { 008 public static native int getCurrentThreadPriority(); 009 010 public static native boolean getCurrentThreadIsRealTime(); 011 012 public static native boolean setCurrentThreadPriority(boolean realTime, int priority); 013}