aboutsummaryrefslogtreecommitdiffhomepage
path: root/waftools/fragments/pthreads.c
blob: 84f3d087fbd7608b10037644776885754b73e53d (plain)
1
2
3
4
5
6
#include <pthread.h>
static void *func(void *arg) { return arg; }
int main(void) {
    pthread_t tid;
    return pthread_create (&tid, 0, func, 0) != 0;
}