ce • Isol a ted from others Thre a d • Lives inside a process • Sh a res memory with other thre a ds • Lightweight a nd f a st to cre a te J a v a progr a ms => one process, often m a ny thre a ds
- To h a ndle multiple clients (servers!) - To a void blocking everything while w a iting Ex a mples: - Web server h a ndling m a ny browsers - GUI th a t st a ys responsive while doing work - G a me loop + input + rendering
Computing Javier Gonzalez-Sanchez, Ph.D. [email protected] Winter 2026 Copyright. These slides can only be used as study material for the class CSC 364 at Cal Poly. They cannot be distributed or used for another purpose. 30