edu.wpi.first.wpilibj.networktables2.thread
Class DefaultThreadManager
java.lang.Object
edu.wpi.first.wpilibj.networktables2.thread.DefaultThreadManager
- All Implemented Interfaces:
- NTThreadManager
public class DefaultThreadManager
- extends Object
- implements NTThreadManager
A simple thread manager that will run periodic threads in their own thread
- Author:
- Mitchell
DefaultThreadManager
public DefaultThreadManager()
newBlockingPeriodicThread
public NTThread newBlockingPeriodicThread(PeriodicRunnable r,
String name)
- Specified by:
newBlockingPeriodicThread
in interface NTThreadManager
name
- the name of the thread
- Returns:
- a thread that will run the provided runnable repeatedly with the assumption that the runnable will block
"For updated information see the Java FRC site"