What are all the differences between pipes and message queues?
问题 What are all the differences between pipes and message queues? Please explain both from vxworks & unix perspectives. I think pipes are unidirectional but message queues aren't. But don't pipes internally use message queues, then how come pipes are unidirectional but message queues are not? What are the other differences you can think of (from design or usage or other perspectives)? 回答1: Message Queues are: UNIDIRECTIONAL Fixed number of entries Each entry has a maximum size All the queue