Unix Technical Forum

Flushing a message queue

This is a discussion on Flushing a message queue within the AIX Operating System forums, part of the Unix Operating Systems category; --> Is there a way to flush a message queue obtained from msgget? I realize I could loop in a ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 11:56 AM
soccertl
 
Posts: n/a
Default Flushing a message queue

Is there a way to flush a message queue obtained from msgget?

I realize I could loop in a msgrcv until no more messages exist but was
wondering if a call exists that I am missing to just flush the entire
queue.

Thanks in advance.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 11:56 AM
soccertl
 
Posts: n/a
Default Re: Flushing a message queue


soccertl wrote:
> Is there a way to flush a message queue obtained from msgget?
>
> I realize I could loop in a msgrcv until no more messages exist but was
> wondering if a call exists that I am missing to just flush the entire
> queue.
>
> Thanks in advance.


BTW, this is for AIX 5.3.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:11 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com