1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* * create.c * * Description: * This translation unit implements routines associated with spawning a new * thread. */ #include "pthread.h" int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void * (*start_routine) (void *), void * arg) { /* Call Win32 CreateThread. Map attributes as correctly as possible. */ }