
이번에는 쓰레드가 정말 많으면 좋은지, 다각면에서 알아보고 정리하려고 한다. 프로세스와 쓰레드에 대해 명확히 이해하느라 이 답에 대한 질문을 알기까지 오랜 시간이 걸렸다. 이번 장에서는 프로세스와 쓰레드에 대해 다시 복기하고 쓰레드가 많으면 좋은지 안좋은지에 대한 해답을 찾으려 한다.0. 들어가기 전에0.1 Context Switching(문맥 교환)Switching the CPU to another process requires saving the state of the current process and restoring the state of a different process. This task is known as as context switch. 다른 프로세스에서 CPU를 switch하는건 현..