Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #107.55K
~2K People Reached
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for loly

This piece of code gives the compilation error like /tmp/cc8YlrH3.o: In function `main': checkArray.c:(.text+0xea): undefined reference to `thread_function' checkArray.c:(.text+0xfa): undefined reference to `pthread_creat' checkArray.c:(.text+0x128): undefined reference to `pthread_join' so modify this program as below: #include<stdlib.h> #include<stdio.h> #include<time.h> #include <pthread.h> void *thread_function(void *arg) { pthread_t pt; pt = pthread_self(); printf("Thread %x …

Member Avatar for raviranjanprasa
0
2K

The End.