5 ms·
Did you ever notice that a process running a single thread of execution can run multiple processes, apparently all at the same time? Yeah, that. It's called a
by akgerber 17y ago
Did you ever notice that a process running a single thread of execution can run multiple processes, apparently all at the same time?
Yeah, that. It's called a context switch. It works by "captur[ing] the state of a running application in such a way that it can later be restored". I personally have at least 20 friends who have implemented it, as I would assume most college students at strong CS school would.