gpt4 book ai didi

java - 哪些平台的缓冲区大小有限?

转载 作者:行者123 更新时间:2023-12-04 06:57:54 25 4
gpt4 key购买 nike

Groovy Process Management页面提到:

Because some native platforms only provide limited buffer size for standard input and output streams, failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, and even deadlock



此代码段来自 JDK API。这些是哪些平台?

最佳答案

它也发生在 Linux 和(我希望)Solaris 上。

事实上,我会惊讶地发现任何为进程到进程流提供无限缓冲的传统操作系统平台。即 UNIX 术语中的管道。

关于java - 哪些平台的缓冲区大小有限?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2322025/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com