Alternately, you can avoid the deadlock condition by creating two threads and reading the output of each stream on a separate thread.

 
  • 或者,您还可以通过创建两个线程并读取每个线程中每个流的输出来避免产生死锁情况。
今日热词
目录 附录 查词历史