a0VSemaphore()

Performs V on a semaphore.


Syntax

a0tError a0VSemaphore(
a0tSemaphore *semaphore );

Arguments

Namerd/wrDescription
semaphore write Semaphore descriptor to operate.

Description

This routine increments the counter associated with the semaphore and if there are blocked threads, one is unblocked.


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also

a0NewSemaphore() a0DisposeSemaphore() a0PSemaphore() a0TryPSemaphore()