摘要:
今天在调试程序时,sem_timedwait居然返回了一个Interrupted system call,错误码为EINTR。系统中断这东西我一向只闻其名,不见其"人",不想今天遇上了,脑中一片空白,赶紧上网恶补一下。 系统中断,要从慢系统调用(slow system call)说起,请参考h... 阅读全文
posted @ 2015-01-31 18:39
coding my life
阅读(2326)评论(0)推荐(0)
编辑
摘要:
sem_unlink在man手册里有这么一段话: sem_unlink() removes the named semaphore referred to by name. The semaphore name is removed immediately. The semaphore isdest 阅读全文
posted @ 2015-01-10 22:53
coding my life
阅读(5746)评论(0)推荐(0)
编辑