16#ifndef POLAR_THREADING_H
17#define POLAR_THREADING_H
19POLAR_FUNCTION_INTERNAL intptr_t
20polar_thread_split(
thrd_t *out_thread_id, polar_func_thread_enter func_thread_enter,
void *thread_entry_data,
24polar_thread_current_get_data( BOOL flag_allocate_on_demand );
28polar_thread_current_exit(
void );
31POLAR_FUNCTION_INTERNAL intptr_t
32polar_threading_init(
void );
35POLAR_FUNCTION_INTERNAL
void
36polar_threading_finalize(
void );
39polar_thread_current_get_inbox(
void )
41 return polar_thread_data_get_inbox( polar_thread_current_get_data(YES) );
Definition polar-thread-data.h:31
Definition polar-thread-message-queue.h:23