APR::OS 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::OS - Perl API for Platform-specific APR API

	 use APR::OS ();

	 # get current thread id
	 my $tid = APR::OS::current_thread_id();

       "APR::OS" provides the Perl interface to platform-specific APR API.

       You should be extremely careful when relying on any of the API provided
       by this module, since they are no portable. So if you use those you
       application will be non-portable as well.

       "APR::OS" provides the following methods:

       Get the current thread ID

	 $tid = APR::OS::current_thread_id();

       ret: $tid ( integer )
	   under threaded MPMs returns the current thread ID, otherwise 0.

       since: 2.0.00


	   use Apache2::MPM ();
	   use APR::OS ();
	   if (Apache2::MPM->is_threaded) {
	       my $tid_obj = APR::OS::current_thread_id();
	       print "TID: $tid";
	   else {
	       print "PID: $$";

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 v5.16.2	apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::APR::OS(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