Computer Science Notes

Notes From CS Undergrad Courses FSU

This project is maintained by awa03

Sockets to Parallelism

Threads

Feature Posix Thread Python Threads
Memory Model Direct shared memory access Shared memory but GIL-controlled
Creation overhead lightweight similar overhead
Thread safety manually synchronization required built-in thread safe object
Implementation native OS implementation Python interpreter managed

CPU vs IO Bound Operations