Home > Back-end >  Linux create multithreaded problems, how do you change this bug?
Linux create multithreaded problems, how do you change this bug?

Time:10-29


Both 32-bit and 64 - bit Linux system create a thread,

CodePudding user response:

Int I=(int) arg to int I=* (int *) arg
Thrd_func, (void *) I became thrd_func (void *) (I) remove the comma, add a layer of brackets, pay attention to the parameters of the function and the function,
  • Related