7 #if defined(__OpenBSD__)
9 #include <mono/utils/mono-threads.h>
11 #include <pthread_np.h>
14 mono_threads_platform_get_stack_bounds (guint8
**staddr
, size_t *stsize
)
19 rslt
= pthread_stackseg_np (pthread_self (), &ss
);
22 *staddr
= (void*)((size_t)ss
.ss_sp
- ss
.ss_size
);
27 mono_native_thread_os_id_get (void)
29 return (guint64
)getthrid ();