View Single Post
  #16   Spotlight this post!  
Unread 13-01-2015, 11:23
matan129 matan129 is offline
Registered User
FRC #4757 (Talos)
Team Role: Programmer
 
Join Date: Oct 2014
Rookie Year: 2015
Location: Israel
Posts: 19
matan129 is an unknown quantity at this point
Re: Utilizing Both RoboRIO Cores

Quote:
Originally Posted by SquishyIce View Post
I can't seem to find the task class in my WPILib API. Could it be under a different name? Also, how exactly would I create a new thread and populate it with instructions/commands? Sorry, I'm entirely new to this concept and pretty much have no clue what I'm doing.
I'm on my laptop and I don't have the 2015 WPILib there, but in 2014's there's a task class.
https://github.com/Talos4757/wpilib/blob/master/Task.h
https://github.com/Talos4757/wpilib/...aster/Task.cpp

It uses the VxWorks TaskLib (which is probably POSIX compatible). I think that thhis year they use POSIX threads since the RoboRIO runs Linux (with RT extensions).