|
|
|
|
Using Pipes to Communicate between ThreadsSometimes the communication requirements between threads is quite simple. Take, for example, the case where the producer creates a stream of characters and the consumer reads and processes that stream. Java has a convenient set of Piped classes that provide the support for just such a circumstance:
|
| The page was last updated February 19, 2008 |