Linux - What is semaphore, About Semaphores

What is semaphore

what is semaphore?

Semaphores are used to prevent processes from accessing the same resource, usually shared memory, at the same time.The number of System V semaphores configured for use is controlled by the kernel parameter SEMMNS.

SEMMNS
Number of semaphores in the system. The default and minimum value is 60. The maximum value is 8192. Each entry costs 8 bytes. For SCO OpenServer Release 5.0.6 and later releases, SEMMNS is set to 8192 for database installations on systems with 48MB or more configured at installation time.

The topic on Linux - What is semaphore is posted by - Veen

Hope you have enjoyed, Linux - What is semaphoreThanks for your time

Tech Bluff