#include <stdio.h>
#include <pthread.h>
#include <unistd.h>//sleep()·
unsigned long long value;
void* adder(void * param);//param:
int main(void)
{
int i;
pthread_t tid_adder;
pthread_create(&tid_adder, NULL, adder, NULL);
for (;;)
{
printf("Value is %llu
", value);
sleep(1);
}
return 0;
}