34#ifndef SOLIDC_THREADS_H
35#define SOLIDC_THREADS_H
37#if !defined(_GNU_SOURCE)
73 SECURITY_ATTRIBUTES sa;
92typedef void* (*ThreadStartRoutine)(
void* arg);
void thread_exit(void *retval)
int thread_create(Thread *thread, ThreadStartRoutine start_routine, void *data)
pthread_attr_t ThreadAttr
int thread_attr_destroy(ThreadAttr *attr)
int thread_create_attr(Thread *thread, ThreadAttr *attr, ThreadStartRoutine start_routine, void *data)
int thread_detach(Thread tid)
int thread_join(Thread tid, void **retval)
void *(* ThreadStartRoutine)(void *arg)
int thread_attr_init(ThreadAttr *attr)