5 #include <mono/utils/mono-threads.h>
7 #include <os/kernel/OS.h>
10 mono_threads_platform_get_stack_bounds (guint8
**staddr
, size_t *stsize
)
13 get_thread_info(get_pthread_thread_id(pthread_self()), &ti
);
15 *staddr
= ti
.stack_base
;
16 *stsize
= ti
.stack_end
- ti
.stack_base
;
20 mono_native_thread_os_id_get (void)
22 return (guint64
)get_pthread_thread_id (pthread_self ());
27 #include <mono/utils/mono-compiler.h>
29 MONO_EMPTY_SOURCE_FILE (mono_threads_haiku
);