dm_sem_wait Interface

public interface dm_sem_wait

Wait for named or unnamed sempahore.


Module Procedures

private function sem_wait_named(sem) result(rc)

Waits for semaphore. Returns E_SYSTEM on error.

Arguments

Type IntentOptional Attributes Name
type(sem_named_type), intent(inout) :: sem

Semaphore type.

Return Value integer

private function sem_wait_unnamed(sem) result(rc)

Waits for semaphore. Returns E_SYSTEM on error.

Arguments

Type IntentOptional Attributes Name
type(sem_unnamed_type), intent(inout), target :: sem

Semaphore type.

Return Value integer