re: Explain like I'm five. What is a process and what is thread ? VIEW POST


A process is like a big barn: It takes a long time to build, and it has big, sturdy walls to keep others out. It has places to store things like food for horses. Inside the barn, horses are safe to run and play. The barn knows about all the horses, food, training schedules for the horses, and stuff like that.

A barn's a happening place, I tell you!

A thread is like a single horse running around inside that barn. The horse is kind of silly; it only knows where it is right now and it can retrace its steps. It can eat the grain from the barn along with the other horses in the pasture. Sometimes, it steps on the other horses, and they fight with one another. Sometimes they eat each others grain, and they go hungry. Sometimes they just run around crazy until someone from the farm trains them.

Code of Conduct Report abuse