Return to threads.m4 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / TSRM |
version 1.1.1.2.2.1, 2013/10/14 08:17:38 | version 1.1.1.2.2.1.2.1, 2014/06/15 20:15:51 |
---|---|
Line 79 int main() { | Line 79 int main() { |
pthread_mutexattr_t mattr; | pthread_mutexattr_t mattr; |
int data = 1; | int data = 1; |
pthread_mutexattr_init(&mattr); | pthread_mutexattr_init(&mattr); |
return 0; | return pthread_create(&thd, NULL, thread_routine, &data); |
} ], [ | } ], [ |
pthreads_working=yes | pthreads_working=yes |
], [ | ], [ |