Threads: parameter passing and returning values (long, double) Part A: parameter passing Complete the following programs to show how to pass a single value to a thread, which simply prints out the value of the given parameter. Pass a long value to a thread (special case - pass the value of long as pointer value): main() { void *myth (void *arg) { pthread_t tid; long myi; long i = 3733; pthread_create(&tid, NULL, myth,.....); Pass a long value to a thread (general case- pass the address of long variable): main() { void *myth (void *arg) { pthread_t tid; long myi; long i = 3733; pthread_create(&tid, NULL, myth, ......); Pass a double value to a thread (general case- pass address of double variable): main() { void *myth (void *arg) { pthread t tid; double myd; double d 3733.001; pthread_create(&tid, NULL, myth,......);