TsctlAIOUnlockDesc

From embeddedTS Manuals
Revision as of 13:06, 7 May 2013 by Michael (talk | contribs) (Created page with "<p>This function releases lock <font face="Courier New">num</font> previously successfully acquired by a call to Lock. The flags parameter must be <font face="Courier New">SH...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function releases lock num previously successfully acquired by a call to Lock. The flags parameter must be SHARED if the lock was acquired with that flag, otherwise it must be zero. The other flags do not apply to Unlock and should not be presented. It is an error to unlock with a different SHARED state than the lock was acquired with; the results in this case will be undefined.


enum {
NONBLOCKING=1, SHARED=2, NOUNLOCK=4
};