dm_sem_init Function

public function dm_sem_init(sem, value) result(rc)

Initialises unnamed semaphore. The function returns the following error codes:

  • E_SYSTEM if system call to close semaphore failed.

Arguments

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

Semaphore type.

integer, intent(in), optional :: value

Initial value.

Return Value integer


Calls

proc~~dm_sem_init~~CallsGraph proc~dm_sem_init dm_sem_init c_sem_init c_sem_init proc~dm_sem_init->c_sem_init