[cert-sync]: Make the new store the default and add '--legacy' for the old one.
[mono-project.git] / mono / utils / mono-threads-netbsd.c
blobc140148dbddc352f3d211260c85abe5e5099152d
1 #include <config.h>
3 #if defined(__NetBSD__)
5 #include <mono/utils/mono-threads.h>
6 #include <pthread.h>
8 void
9 mono_threads_platform_get_stack_bounds (guint8 **staddr, size_t *stsize)
11 pthread_attr_t attr;
13 *staddr = NULL;
14 *stsize = (size_t)-1;
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);
23 #endif