How can I pass a struct as an argument in a pthread function in C?

后端 未结 0 1822
刺人心
刺人心 2021-01-13 19:14
  struct request 
{
   int  id;
   int  size;
   int  timestamp;

};

for(lots_of_threads = 0; lots_of_threads < NUM_THREADS; lots_of_threads++)
{
    res = pthre         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题