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.
当使用 Rxtx 库检索可用的串行端口close()时(参见第二个示例),该方法将阻塞,即使端口已成功打开。
close()
如何在关闭操作上设置超时,这样我就不会被卡住?请注意,这些方法的文档记录非常差。
请注意,我刚刚找到了这个相关的线程。我会尽快回来报告的。
更新 -
这是另一个线程。仍然没有运气...