摘要: int readcount, writecount = 0; //readcount,writecount都等于0semaphore rsem, wsem = 1; // rsem,wsem都等于1semaphore x,y,z = 1; /... 阅读全文
posted @ 2010-12-06 20:55 hankskfc 阅读(633) 评论(0) 推荐(0) 编辑