#include #include int number = 5; void* thread_function(void* parameter){ number += 3; printf("hi %d\n", number); } int main(){ pthread_t handles[2]; pthread_create(&handles[0], 0, thread_function, 0); pthread_create(&handles[1], 0, thread_function, 0); // Wait for the threads to finish pthread_join(handles[0], 0); pthread_join(handles[1], 0); return 0; }