wrf.omp_test_lock¶
-
wrf.
omp_test_lock
(svar)¶ Test a simple OpenMP lock.
This method attempts to set the lock, but does not suspend execution.
Parameters: svar ( int
) – An integer representing the simple lock.Returns: Returns 1 (True) if the lock is successfully set, otherwise 0 (False). Return type: int
See also
wrf.test_nest_lock()
,wrf.omp_set_lock()