Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (A-C)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
4-11
BINSEM_FORCELOCK_
Forces a lock on a binary semaphore.
4022 Invalid parameter. The security parameter is not a valid value. Specifying
an invalid value for security could cause unpredictable results in future
releases. The corresponding OSS errno value is EINVAL.
4024 Process cannot open the binary semaphore. The process has reached the
maximum number of binary semaphores it can open, or the process file segment
(PFS) has reached the maximum limit of available space. The corresponding
OSS errno value is EMFILE.
4028 No space. The processor has reached the maximum limit of space available for
binary semaphores. The corresponding OSS errno value is ENOSPC.
semid, INT(32) .EXT:ref:1 output
security, INT:value input
status := BINSEM_FORCELOCK_ ( semid
,processhandle );
status, INT returned value
0 No error.
22 Bounds error. The processhandle parameter cannot be written to by the
calling process.
4022 Invalid parameter. The semid parameter does not identify a binary semaphore
that is opened by the calling process. The corresponding OSS errno value is
EINVAL.
4045 Deadlock. The binary semaphore was forsaken before the procedure call, and it
is now locked. The corresponding OSS errno value is EDEADLK.
4103 Already locked. The binary semaphore was locked by the calling process before
the procedure call, and it remains locked. The corresponding OSS errno value
is EALREADY.
semid, INT(32):value input
processhandle, INT .EXT:ref:10 output