Difference between MUTEX and Semaphore - Networking

Difference between MUTEX and Semaphore.

Mutex:
A mutex object allows only one thread among the threads concurrently executed, into a controlled section in a serialized fashion, forcing other threads to wait until the exiting of the first thread from that section.

Semaphore:
The restriction of the number of simultaneous users of a shared resource is performed by a semaphore. Semaphore allows threads to request to the resource and signals the completion of using resources to threads.
Priority Inversion - Networking
Priority inversion is the scenario in scheduling where a task holds shared resources which have lower priority for the higher priority resource.......
Explain MSMQ - Networking
Microsoft Message Queue is a protocol for messaging. Applications are allowed for running on disparate servers for communicating in a fail-safe manner.......
What are Passive and Active FTPs? - Networking
Active FTP: A Client connects from a random unprivileged port to the FTP server port 21, using Active FTP......
Post your comment