会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
陶然亭
It's hard, but there is hope!
博客园
首页
新随笔
联系
管理
订阅
2014年6月28日
提示“Resource temporarily unavailable”的原因及解决办法
摘要: 问题:Linux环境下编程时,在读串口时,出现“Resource temporarily unavailable”的错误提示。 原因:串口设置成了非阻塞模式,但是没有用select去判断是否有数据到来就去读。 解决方法: 要么将串口设置成阻塞模式,要么使用select。
阅读全文
posted @ 2014-06-28 14:00 ITtecman
阅读(32145)
评论(0)
推荐(0)
公告