David Marcin
2005-10-11 18:51:49 UTC
When a Create_Semaphore(name) is called twice with the same name from
the same process without calling Destroy_Semaphore(sem) in between, what
should happen.
Should we return -1 as an error, or should we return the semaphore
descriptor for the requested semaphore? If we return the semaphore
descriptor should we treat the process as if it has two references to
this semaphore, or should we keep the limit to one semaphore reference
per process?
the same process without calling Destroy_Semaphore(sem) in between, what
should happen.
Should we return -1 as an error, or should we return the semaphore
descriptor for the requested semaphore? If we return the semaphore
descriptor should we treat the process as if it has two references to
this semaphore, or should we keep the limit to one semaphore reference
per process?