英語 での The semaphore の使用例とその 日本語 への翻訳
{-}
-
Programming
-
Colloquial
-
Ecclesiastic
-
Computer
Remove the semaphore identified by semid.
When a process has finished using the semaphore.
Remove the semaphore created with semkey.
References the semaphore status. This is similar to tk_ref_sem().
And decrement the semaphore value by one(sem_wait(3)).
Release() method overload the same number of times, or call the Semaphore.
Also, the Semaphore class supports specialized resource counting.
Sem_post() increments(unlocks) the semaphore pointed to by sem.
To release the semaphore, the thread can either call the Semaphore. .
Two operations can be performed on semaphores: increment the semaphore value by one.
In this case the semaphore clean up code simply discards the sem_undo data structure.
DiskPart has encountered an error: The semaphore timeout period has expired.
The semaphore field is the semaphore used to coordinate access to the control block.
E_NOEXS Object does not exist(the semaphore specified in semid does not exist).
When a task(the task waiting for an event) acquires n resources,it decreases the semaphore resource count by n.
E_NOEXS Object does not exist(the semaphore specified in semid does not exist).
When the semaphore is no longer required, and before the memory in which it is located is deallocated, the semaphore should be destroyed using.
Ensure that there are no accidents in the streets by closing and opening the semaphore signals in accordance with traffic.
Be sure to check out the Adelaide International Kite Festivaland the Semaphore Street Fair at the end of November.
If decrementing the semaphore would result in its value being negative, sema_trywait() returns 0 to indicate failure.
If the semaphore count increases to the point where the maximum count(maxsem) would be exceeded by the return of more resources, error code E_QOVR is returned.
For more information, see the Semaphore and SemaphoreSlim article and the Semaphore or SemaphoreSlim API reference.
When the semaphore countergt;0, the task that executes a wait semaphore system call makes a transition from RUN to READY.
Acronis Backup 12.5: remote installation fails with"The semaphore timeout period has expired"| Knowledge Base Symptoms You are installing Acronis Backup 12.5 components to a remote machine.
If all of the semaphore operations would have succeeded and the current process does not need to be suspended, Linux goes ahead and applies the operations to the appropriate members of the semaphore array.
On error, the value of the semaphore is left unchanged, -1 is returned, and errno is set to indicate the error.
Sem_remove() removes the semaphore sem_identifier if it has been created by sem_get(), otherwise generates a warning.