Disable busyloop test case due to signal handling constraints in SIM mode

This commit is contained in:
Hui, Chunyang 2021-06-23 03:18:02 +00:00 committed by Zongmin.Gu
parent 6c57834b8a
commit 09b7828f44

@ -18,7 +18,14 @@
// Type 1: a busy loop thread
static void *busyloop_thread_func(void *_) {
// FIXME: Disable support for interrupting user code in simulation mode becase
// the interrupt signal is not handled well.
#ifdef SGX_MODE_SIM
printf("WARNING: Skip busyloop_thread_func case as we do not support "
"interrupting user code in SGX simulation mode\n");
#else
while (1) { }
#endif
return NULL;
}