#include #include using namespace std ; void thread_function1( int id ) { for( int i1=0 ; i1<5 ; i1++ ) cout << "Thread id: " << id << } int main() { //TO DO Create 3 threads that call "thread_function1" //with the id's passed as 1 2 and 3 //TO DO Add the join statements so that the //main waits for the threads to finish cout << "main thread\n"; return 0; }