아주 간단한 다음과 같은 thread 예제를 돌리려고 하는데
컴파일이 안됩니다...
[code:1]#include <stdio.h>
#include <pthread.h>
void print_message_function(void *);
main() {
pthread_t thread1, thread2;
char *message1 = "Hello";
char *message2 = "World";
pthread_attr_t attr1, attr2;
pthread_create(&thread1, &attr1, (void *)&print_message_function, (void *)message1);
pthread_create(&thread2, &attr2, (void *)&print_message_function, (void *)message2);