Chinaunix首页 | 论坛 | 博客
  • 博客访问: 135420
  • 博文数量: 27
  • 博客积分: 681
  • 博客等级: 上士
  • 技术积分: 257
  • 用 户 组: 普通用户
  • 注册时间: 2010-08-07 16:07
文章分类

全部博文(27)

文章存档

2012年(8)

2011年(16)

2010年(3)

分类: LINUX

2011-09-24 10:36:11

Try Again

It is very common to get this error when your application is doing non-blocking operations on files or network sockets. For example, you can open a file/socket/fifo for reading with the O_NONBLOCK flag. If you subsequently do a  call and there is no data waiting, instead of blocking and waiting until there is data ready and returning that data, the read() call will return an error (EAGAIN) to let your application know that there is no data ready and to try again later.

Another example is if a system call failed due to insufficient resources (such as virtual memory), but it might succeed if called again. (eg  does this).

一直不知道是什么意思,只知道在出现这个错误重来一次,这下总算明白了!

阅读(1522) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~