Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (A-C)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
4-13
BINSEM_UNLOCK_
Unlocks a binary semaphore.
BREAKMESSAGE_SEND_
Sends a break-on-device message to a specified process.
4013 Invalid access. The calling process does not have access to the binary semaphore
because of its security. The security for a binary semaphore is set by the
BINSEM_CREATE_ procedure. The corresponding OSS errno value is
EACCESS.
4022 Invalid parameter. The processhandle parameter does not specify a process.
A process that is being created or is terminating is treated as though it does not
exist. 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.
semid, INT(32) .EXT:ref:1 output
processhandle, INT .EXT:ref:10 input
proc-semid, INT(32):value input
error := BINSEM_UNLOCK_ ( semid );
error, INT returned value
0No error.
4001 Cannot lock. The semid parameter is not locked by the calling process. The
corresponding OSS errno value is EPERM.
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.
semid, INT(32):value input
error := BREAKMESSAGE_SEND_ ( processhandle
,receiver-filenum
,[ breaktag ] );