Quote:
Originally Posted by pipsqueaker
Hey, I'm a new programmer, and right now me and one of my friends are involved in porting our robot code to c++. One big thing that's been throwing me off however is c++'s apparent lack of threads. Whenever I google it I get suggestions to use the Boost library, which I have no idea how to use with WPILib. Results are even harder to find because of the clash of terminology (Google keeps confusing forum threads with code threads), so the end result is that I'm really not sure how (or if) I can thread the code.
I'm building off of the SimpleTemplate project, if you wanted to know.
Thanks!
|
Last time I checked (around 1.38), Boost will work on vxWorks. However, compiling it into your robot code will be annoying. [edit] So don't use that on the robot unless you know what you're doing. [/edit]
Use the Task class instead, that allows you to create additional threads using WPILib.