hi,
i have some troubles with a C program that i made,... for compiling it in code blocks i am using gcc and i am in ubuntu.
this is my thread call function:
pthread_create(&gothreads,NULL, workload,&newuser);
when i try to compile the entire project the code blocks give me the following error message:
pthread_create(&gothreads,NULL, workload,&newuser);
i put in compiler settings->other settings
-lpthread
what’s going wrong??
help please...