What's difference between - semaphore vs. mutex - thread vs. procss
Anonym
- a semaphore is a mutex where ownership can be shared between more than one thread (fixed quantity) - A thread shares memory space with the other threads, (meaning, the same variables), while the processes have separate memory spaces and distinct variables