What is Semaphoresc and explain ?
Answers
Answered by
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
Science,
6 months ago
Hindi,
6 months ago
Math,
6 months ago
Psychology,
1 year ago
Psychology,
1 year ago
Social Sciences,
1 year ago