Imported Upstream version 1.2.0
[platform/upstream/iotivity.git] / resource / c_common / windows / include / pthread_create.h
1 /** @todo: Add Microsoft license information */
2
3 #ifndef PTHREAD_CREATE_H__
4 #define PTHREAD_CREATE_H__
5 #ifndef WIN_PTHREADS_H
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 typedef void* pthread_t;
12 typedef void pthread_attr_t;
13
14 int pthread_create(
15    pthread_t *thread,
16    const pthread_attr_t *attr,
17    void *(*start_routine)(void *),
18    void *arg);
19
20 #ifdef __cplusplus
21 }
22 #endif
23
24 #endif //WIN_PTHREADS_H
25 #endif //__PTHREAD_CREATE_H__
26