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

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

    注:读者可以尝试一下注释掉初始化步骤,进程在运行时会出现何种情况(进程在申请资源时会睡眠),同时可以像程序结尾给出的注释那样,把该程序编译成两个不同版本。下面是本程序的运行结果(操作系统redhat8.0):

    owner's uid is 0
    
    
    
    owner's gid is 0
    
    
    
    creater's uid is 0
    
    
    
    creater's gid is 0
    
    
    
    the number of entries in semaphore map is 32000 
    
    
    
    max number of semaphore identifiers is 128 
    
    
    
    mas number of semaphores in system is 32000 
    
    
    
    the number of undo structures system wide is 32000 

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

         

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

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