Function fortanix_sgx_abi::entry::executable::thread_entry [−][src]
pub fn thread_entry()
Expand description
The entry point of additional threads of the enclave, for non-first TCSs.
When returning from this TCS, userspace may re-enter this TCS after
another call to launch_thread
.
The enclave must keep track of whether it expects another thread to
be launched, e.g. by keeping track of how many times it called
launch_thread
. If a TCS with this entry point is entered even
though the enclave didn’t request it, the enclave must panic.