3 #if defined(__NetBSD__)
5 #include <mono/utils/mono-threads.h>
9 mono_threads_platform_get_stack_bounds (guint8 **staddr, size_t *stsize)
16 pthread_attr_init (&attr);
17 pthread_attr_get_np (pthread_self (), &attr);
19 pthread_attr_getstack (&attr, (void**)staddr, stsize);
20 pthread_attr_destroy (&attr);