关于RPC的一个任务

pnfs-nfs-utils-708/utils/spnfsd/spnfsd.c文件,从标红的地方开始看。看RPC的一些知识。需要尽快把RPC调用搞清楚。


if(pthread_create(&rpc_tid,NULL,newmdsadd_rpc,NULL) != 0)
 {
  perror("newmdsadd_rpc thread create failed");
  exit(1);
 }
 else
 {
  printf("newmdsadd_rpc is running!\n");
 }
开始看!

转载于:https://www.cnblogs.com/xindufresne/p/3409767.html

你可能感兴趣的:(关于RPC的一个任务)