7 #if defined(__NetBSD__)
9 #include <mono/utils/mono-threads.h>
14 mono_threads_platform_get_stack_bounds (guint8
**staddr
, size_t *stsize
)
21 pthread_attr_init (&attr
);
22 pthread_attr_get_np (pthread_self (), &attr
);
24 pthread_attr_getstack (&attr
, (void**)staddr
, stsize
);
25 pthread_attr_destroy (&attr
);
29 mono_native_thread_os_id_get (void)
31 return (guint64
)_lwp_self ();