Please explain what threads are in C language! I'm referring to CS50 week 0 - shorts.


as explained in the video, a thread is a piece of code that runs "concurrently" with other pieces of code.

the video didn't actually talk about concurrency in C, but rather it focused on that in Scratch (in terms of scripts running at the same time) and I think that's what you should focus on for now.

if you're curious though (probably requires more advanced knowledge than week 0), see http://www.thegeekstuff.com/2012/04/create-threads-in-linux/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .