3 #if defined(__FreeBSD__)
5 #include <mono/utils/mono-threads.h>
7 #include <pthread_np.h>
10 mono_threads_platform_get_stack_bounds (guint8 **staddr, size_t *stsize)
13 guint8 *current = (guint8*)&attr;
18 pthread_attr_init (&attr);
19 pthread_attr_get_np (pthread_self (), &attr);
21 pthread_attr_getstack (&attr, (void**)staddr, stsize);
22 pthread_attr_destroy (&attr);