docs::api::APR::OS - Online Linux Manual Page

Section : 3
Updated : 2021-01-26
Source : perl v5.32.1
Note : User Contributed Perl Documentation

NAMEAPR::OS − Perl API for Platform−specific APR API

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

DescriptionAPR::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.

APIAPR::OS provides the following methods:

current_thread_idGet 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 Example: ​ 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 Alsomod_perl 2.0 documentation.

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

AuthorsThe mod_perl development team and numerous contributors.
0
Johanes Gumabo
Data Size   :   6,177 byte
man-APR::OS.3pmBuild   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   25 / 2,324,627
Visitor ID   :     :  
Visitor IP   :   216.73.216.66   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   20   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|254|APR::OS.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|160|APR::OS.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|254|APR::OS.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|160|APR::OS.3pm|43|'br══─}─══ |'br══─}─══ )