Bemanitools v5.26 release

This commit is contained in:
icex2
2019-09-27 22:36:50 +02:00
commit cbd7720349
718 changed files with 62731 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef UTIL_THREAD_H
#define UTIL_THREAD_H
#include <stdint.h>
#include "bemanitools/glue.h"
int crt_thread_create(int (*proc)(void *), void *ctx, uint32_t stack_sz,
unsigned int priority);
void crt_thread_join(int thread_id, int *result);
void crt_thread_destroy(int thread_id);
void thread_api_init(thread_create_t create, thread_join_t join,
thread_destroy_t destroy);
int thread_create(int (*proc)(void *), void *ctx, uint32_t stack_sz,
unsigned int priority);
void thread_join(int thread_id, int *result);
void thread_destroy(int thread_id);
#endif