Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Resizing IPC::Msg queue size

by hv (Prior)
on Jul 08, 2004 at 12:50 UTC ( [id://372774]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # IPC/Msg.pm lines 61-79
    sub set {
    ...
    
        msgctl($$self,IPC_SET,$ds->pack);
    }
    
  2. or download this
      my $ds = $self->stat
    
  3. or download this
      $ds = $self->stat
    
  4. or download this
      {
        package IPC::Msg::Bugfix;
    ...
      # in your code
      my $msg = new IPC::Msg::Bugfix('24h', IPC_CREAT);
      # and continue as before
    
  5. or download this
      # avoiding buggy multiple-arg set()
      # $msg->set('qbytes' => 32768); 
      my $ds = $msg->stat or die "stat: $!";
      $ds->qbytes(32768);
      $msg->set($ds);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://372774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-23 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found