In Language Environment threads run under enclaves. Each thread represents an independent instance of a routine running using enclave's resources.
Memory is allocated by threads and owned by the parent enclave. It exists from when it is allocated to when it is explicitly freed or to when the owning enclave terminates. During its lifetime memory is available to all threads running under the same enclave. If the exported function you mention is called by the same thread which allocated the memory, this will be available to the exported function as well. I hope this helps, mario ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN