How to know whether the message queue is empty or not.
Answer Posted / pavan
type the command: ipcs -m
you'll get no of messages in Message Q,
else
you can also use msqid_ds structure
i'e : define a structure variable of type
-> struct msqid_ds YOUR_VAR;
and access YOUR_VAR -> msg_qnum
it'll give no of messgaes on Q.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the various schemes available?
What is i-node numbers?
What is ipc port?
Explain about daemon?
Which ipc is the fastest in unix?
Please explain fork() system call?
What is unix ipc?
Explain the system calls used for process management?
What is fork()?
Explain the initial process sequence while the system boots up?
Which ipc is faster?
What is ipc in unix?
What is the condition required for dead lock in unix system?
Max relax-able permission value with out giving write permission to others?
What is the full form of ipc?