bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Execution properties - "cannot be suspended" bit


From: David B. Lamkins
Subject: [Bug-apl] Execution properties - "cannot be suspended" bit
Date: Mon, 07 Jul 2014 20:18:44 -0700

The ISO spec for the component file interface says: "The functions
described here must be written so that they do not suspend. Any errors
encountered or detected must be passed to the context from which the
function was invoked."

I believe that means that the function's "cannot be suspended" attribute
must be set.

I've arranged for each function in the component file API to have the
"cannot be suspended" bit set using
      0 1 0 0⎕fx ⎕cr 'function name'

Errors in the functions so attributed still display the line number at
which the error occurred. According to pg. 295 of the ISO spec, I should
see only the function name on the state indicator.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]