blob: 746309c4c930b466964ecdda7f29f0f36ce346a3 [file] [log] [blame]
<html><head><title>omp_set_lock</title>
<body>
<H3>omp_set_lock</H3>
<PRE>
void omp_set_lock(omp_lock_t *lock)
</PRE>
<DL><DD>
Blocks the thread executing the function until the
specified lock is available and then sets the lock.
A simple lock is available if it is unlocked.
A nestable lock is available if it is unlocked or if it is
already owned by the thread executing the function.
<P></DL></font></body></html>