#include <sched.h>

#include <pthread.h>

main()
{
  pthread_t id0, id1, id2;   ret
=pthread_create(&id1,NULL,(void *) thread_cmd,NULL);   if(ret!=0)   {     printf ("Create pthread_cmd error!n");     exit (1);   } } void thread_cmd(void) { int fd; while(1) { ; } return; }

 

相关文章:

  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
猜你喜欢
  • 2021-12-20
  • 2021-05-09
  • 2021-12-09
  • 2021-10-12
  • 2021-11-14
  • 2022-01-21
  • 2021-04-11
相关资源
相似解决方案