#include #if defined(__HAIKU__) #include #include #include void mono_threads_platform_reset_priority(pthread_attr_t *attr) { /* FIXME: Implement this on Haiku */ } void mono_threads_platform_get_stack_bounds (guint8 **staddr, size_t *stsize) { thread_info ti; get_thread_info(get_pthread_thread_id(pthread_self()), &ti); *staddr = ti.stack_base; *stsize = ti.stack_end - ti.stack_base; } #endif