#include <mono/utils/mono-threads-coop.h>
#include <mono/utils/checked-build.h>
#include <mono/metadata/w32handle.h>
+#include <mono/metadata/threadpool.h>
#include "mini.h"
#include "seq-points.h"
#endif
#endif
+#ifdef ENABLE_INTERPRETER
+#include "interpreter/interp.h"
+#endif
+
static guint32 default_opt = 0;
static gboolean default_opt_set = FALSE;
#ifdef ENABLE_INTERPRETER
if (mono_use_interpreter)
- return interp_create_method_pointer (method, error);
+ return mono_interp_create_method_pointer (method, error);
#endif
if (mono_llvm_only)
#ifdef ENABLE_INTERPRETER
if (mono_use_interpreter)
- return interp_mono_runtime_invoke (method, obj, params, exc, error);
+ return mono_interp_runtime_invoke (method, obj, params, exc, error);
#endif
mono_error_init (error);
mono_runtime_cleanup (domain);
#endif
+ mono_threadpool_cleanup ();
+
mono_profiler_shutdown ();
free_jit_tls_data ((MonoJitTlsData *)mono_tls_get_jit_tls ());