Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: Android Android 的非阻塞 IO :无缓冲 IO
谁能告诉我如何用 Java 编写一个非阻塞串行 IO 读/写?
需要发生的是内核 ioctl 调用以将设备文件置于非阻塞模式。问题是如何让 java 做到这一点。