[hal] Add function for changing HAL Notifier thread priority (#3218)

This commit is contained in:
Tyler Veness
2021-02-28 22:05:26 -08:00
committed by GitHub
parent 40b367513f
commit 3cf44e0a53
8 changed files with 86 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ public class NotifierJNI extends JNIWrapper {
/** Initializes the notifier. */
public static native int initializeNotifier();
/** Sets the HAL notifier thread priority. */
public static native boolean setHALThreadPriority(boolean realTime, int priority);
/** Sets the name of the notifier. */
public static native void setNotifierName(int notifierHandle, String name);