APR::BucketAlloc man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]


       APR::BucketAlloc - Perl API for Bucket Allocation

	 use APR::BucketAlloc ();
	 $ba = APR::BucketAlloc->new($pool);

       "APR::BucketAlloc" is used for bucket allocation.

       Create an "APR::BucketAlloc" object:

	 $ba = APR::BucketAlloc->new($pool);

       class: "APR::BucketAlloc"
       arg1: $pool ( "APR::Pool object" )
	   The pool used to create this object.

       ret: $ba ( "APR::BucketAlloc object" )
	   The new object.

       since: 2.0.00

       This bucket allocation list (freelist) is used to create new buckets
       (via "APR::Bucket->new") and bucket brigades (via "APR::Brigade->new").

       You only need to use this method if you aren't running under httpd.  If
       you are running under mod_perl, you already have a bucket allocation
       available via "$c->bucket_alloc" and "$bb->bucket_alloc".


	 use APR::BucketAlloc ();
	 use APR::Pool ();
	 my $ba = APR::BucketAlloc->(APR::Pool->pool);
	 my $eos_b = APR::Bucket::eos_create($ba);

       Destroy an "APR::BucketAlloc object":


       arg1: $ba ( "APR::BucketAlloc object" )
	   The freelist to destroy.

       ret: no return value
       since: 2.0.00

       Once destroyed this object may not be used again.

       You need to destroy $ba only if you have created it via
       "APR::BucketAlloc->new". If you try to destroy an allocation not
       created by this method, you will get a segmentation fault.

       Moreover normally it is not necessary to destroy allocators, since the
       pool which created them will destroy them during that pool's cleanup

See Also
       mod_perl 2.0 documentation.

       mod_perl 2.0 and its core modules are copyrighted under The Apache
       Software License, Version 2.0.

       The mod_perl development team and numerous contributors.

perl v5apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::APR::BucketAlloc(3)

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net