相关文章  
  • 做个好杀手Linux的Kill命令与信号(3)
  •   推荐  
      科普之友首页   专利     科普      动物      植物        天文   考古   前沿科技
     您现在的位置在:  首页 >>文献 >>培训

    Linux系统环境进程间通信:信号灯(5)4

    ing; /* pending operations to be processed */ struct sem_queue **sem_pending_last; /* last pending operation */ struct sem_undo *undo; /* undo requests on this array */ unsigned long sem_nsems; /* no. of semaphores in array */ };

    其中,sem_queue结构如下:

    /* 系统中每个因为信号灯而睡眠的进程,都对应一个sem_queue结构*/
    
    
    
    struct sem_queue {
    
    
    
    struct sem_queue * next; /* next entry in the queue */
    
    
    
    struc

    页码:[1] [2] [3] [4] [5] [6] [7] [8]4页、共8页

         

          设为首页       |       加入收藏       |       广告服务       |       友情链接       |       版权申明      

    Copyriht 2007 - 2008 ©  科普之友 All right reserved