06 October 2008

Message Queues (IPC)


Message Queues
  • Either one task or group of tasks can use the queue
  • Usually queue is circular. elements are accessed by means of FIFO.
  • Printer task is an example
Queue
  • Initialization before using the function
  • provision for multiple queues. each queue will be having an ID
  • size of the queue is either user defined or predefined by the scheduler
  • There may be a need for error handler, when a queue is full.

1 comment:

  1. can u provide me a simple c program on msg q

    how to initialize a q?
    how to send a msg?
    how to receive a msg?
    how do we know that queue is full?
    what happens if the queue is full and how to avoid it?
    plz send me the required material

    regards
    kartheek

    ReplyDelete

Powered by Blogger.

About Me

Featured Post

5G Network Simulation in NS3 using mmWave | NS3 Tutorial 2024

5G Network Simulation in NS3 Using mmWave This post shows the installation of ns3mmwave in Ubuntu 24.04 and simulates 5G networks in ns3. In...

Contact form

Name

Email *

Message *

Total Pageviews

Search This Blog

Pages

Pages

Pages - Menu

Most Popular

Popular Posts