[code:1]
#include <pthread.h>
#include <stdio.h>
void serveIt1();
void serveIt2();
int main()
{
pthread_t tid;
if ( pthread_create(&tid, NULL, (void*) &serveIt2, NULL) ) {
printf("error creating thread.");
}
if ( pthread_create(&tid, NULL, (void*) &serveIt1, NULL) ) {
printf("error creating thread.");
}