Create thds-param.c

demonstrates message passing via struct to thread.