Multiple arguments to function called by pthread_create()? July 2, 2022 by Tarik Because you say struct arg_struct *args = (struct arg_struct *)args; instead of struct arg_struct *args = arguments;