Alternately, you can avoid the deadlock condition by creating two threads and reading the output of each stream on a separate thread.
英
美
或者,您还可以通过创建两个线程并读取每个线程中每个流的输出来避免产生死锁情况。
目录
查词历史
英 汉