param1 is the argument to the call. The
rc is the return value of the platform function (true/false), or an
AcoError if an error occurred during the execution of the call. For a discussion of errors, see
ACO errors and error cases.
param1 is the arguments to the call. The
rc is the return value of the platform function (true/false), or an
AcoError if an error occurred. The
aFuture is a future that contains the result of the platform function. You must explicitly ask the future for its value. If the platform function has not yet completed, the process asking for the value of the platform function call blocks until the value is ready.
To check the status of a blocking call, the messages checkForValue or
isReady can be sent to the future. The message
checkForValue answers the return value if it is ready or an
AcoError if it is not yet ready. The message
isReady answers
true if the return value is ready; otherwise, it answers
false. When a future is asked for its value during a system callback (that is when the operating system has called back into Smalltalk), if the return value has not been calculated, then an
AcoError is answered. Resource future calls are slower than standard asynchronous calls.
param1 is the parameters to the call. The
rc is the return value of the platform function (true/false). The
aFuture is a static future that contains the result of the platform function. You must explicitly ask the future explicitly for its value. If the platform function has not completed, the process asking for the value of a future blocks until the value is ready.
To check the status of a blocking call, the messages checkForValue or
isReady can be sent to the future. The message
checkForValue answers the return value if it is ready or an
AcoError if it is not ready. The message
isReady answers
true if the return value is ready; otherwise, it answers
false.
The AcoResourceManager allocates and deallocates resources for a static future. Resources include the thread used to make the call and some fixed-space memory. To get the default resource manager, the message
default is sent to the
AcoResourceManager class. The default resource manager can then be sent the following messages to allocate and deallocate resources: