blob: ef625d01c1a69c142956fb50e8fd8d3c7381b039 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef _LINEN_H_
#define _LINEN_H_
#if (__x86_64 != 1 || __linux__ != 1 || __LP64__ != 1)
#error "Linen (libinen.so) only works on x86_64 Linux!"
#endif
typedef int* linen_thread_t;
extern int linen_thread_create(linen_thread_t* handle, void* (*func)(void*), void* arg);
extern int linen_thread_finish(linen_thread_t handle, void** retval);
#endif /* _LINEN_H_ */
|