dm_sem_close Subroutine

public subroutine dm_sem_close(sem, error)

Closes named semaphore. On error, the routine sets argument error to the following error codes:

  • E_NULL if semaphore pointer is not associated.
  • E_SYSTEM if system call to close semaphore failed.

Arguments

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

Semaphore type.

integer, intent(out), optional :: error

Error code.


Calls

proc~~dm_sem_close~~CallsGraph proc~dm_sem_close dm_sem_close c_sem_close c_sem_close proc~dm_sem_close->c_sem_close