2020-07-22 07:33:44 -05:00
|
|
|
#ifndef PTHREAD_H
|
|
|
|
#define PTHREAD_H
|
|
|
|
|
2020-07-23 11:50:23 -05:00
|
|
|
#include <sys/types.h>
|
2020-07-22 07:33:44 -05:00
|
|
|
|
2020-07-23 11:50:23 -05:00
|
|
|
typedef pid_t pthread_t;
|
2020-07-22 07:33:44 -05:00
|
|
|
typedef int pthread_attr_t; //Created as dummy
|
|
|
|
|
|
|
|
int pthread_create(pthread_t *restrict thread,
|
|
|
|
const pthread_attr_t *restrict attr,
|
|
|
|
void *(*start_routine)(void*), void *restrict arg);
|
|
|
|
#endif
|