Computer Science, asked by yamunadevi126, 1 year ago

What is Semaphoresc and explain ?

Answers

Answered by prachiss
0

A non-zero value means the semaphore is shared between processes and a value of zero means it is shared between threads.

To destroy a semaphore, we can use sem_destroy.

To declare a semaphore, the data type is sem_t.

Similar questions