entry::[−][src] executable:: thread_entry
pub fn thread_entry()
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
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.