• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiplexing streams?  RSS feed

 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about the question, but I looked on the internet and didn't find anything suitable, and I'm not a native English speaker, although I live in London...I'm studying Java NIO and would like to know what 'To multiplex' means, referring to non-blocking features of channels. What does it mean:'...This ability permits a process to multiplex many active streams...'?

Thanks for any help,
 
Steve Deadsea
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd say that multiplex most closely means "handle multiple" or "deal with multiple" in this instance.

It used to be that you would get stuck on any single stream because you would try to read from it and wait minutes for data to come in on that stream. In the meantime data would come in on your other streams and your single threaded program would appear to be hung and unresponsive.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!