Compaq Fortran for Tru64 UNIX Alpha Systems V5.4
omp_init_lock (3f)
initializes a lock associated with a given lock variable
for use in subsequent calls
Syntax
interface
subroutine omp_init_lock ( var )
integer ( kind=8 ) var
end subroutine omp_init_lock
end interface
integer ( kind=8 ) v
call omp_init_lock ( v )
Description
The initial state of the lock variable "v" is unlocked.
Restrictions
Attempting to call this routine with a lock variable that is already
associated with a lock is an invalid operation and will cause a run-time
error.
See Also
omp_destroy_lock(3f), omp_set_lock(3f), omp_test_lock(3f),
omp_unset_lock(3f)