C++ Pro Tasks and Threads

Ok so rn I’m programming my autonomous and I’m trying to do two functions at the same time. Should I use normal voids in the autonomous or tasks or even threads which I don’t know what they do? Also for the driver control should I use tasks or voids?
What’s the proper way to start a task?

The reference site doesn’t really help to understand it.

Thank you

tasks and threads are really the same thing with slightly different API, one has a ROBOTC bias, the other similar to std::thread.

@jpearman Thank you!!

Also sometimes when I try to search vex forums with key words, nothing shows up, probably a millionth time someone has asked it.