08-20-2019
Hi Peasant,
Welcome to the mod team!
S.
This User Gave Thanks to Scrutinizer For This Post:
3 More Discussions You Might Find Interesting
1. What is on Your Mind?
On this special Happy News Year day, 1 January 2019, I am pleased to promote Ravinder Singh to UNIX.COM Moderator, for at least the following reasons:
Ravinder Loves UNIX.COM
Ravinder has 1,372 Thanks, which puts him in the Top Ten in that important single category.
Ravinder is one of... (8 Replies)
Discussion started by: Neo
8 Replies
2. What is on Your Mind?
Dear All,
Following our policy for forum moderators to have active LinkedIn profiles (and also to increase mod team diversity), please join me in congratulating the newest addition to our mod team, Yoda:
Bipin Ajith (Yoda)
Yoda has been hanging around unix.com for over eight years now and... (7 Replies)
Discussion started by: Neo
7 Replies
3. What is on Your Mind?
Dear All,
Following our policy for forum moderators to have active LinkedIn profiles (and also to increase mod team diversity), please join me in congratulating the newest addition to our mod team, Akshay Hegde:
Akshay Hegde on LinkedIn
Akshay has been very helpful to the site over the... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT DEBIAN
apr::os
libapache2-mod-perl2-2.0.7::docs::api::APR::OS(3pm) User Contributed Perl Documentation libapache2-mod-perl2-2.0.7::docs::api::APR::OS(3pm)
NAME
APR::OS - Perl API for Platform-specific APR API
Synopsis
use APR::OS ();
# get current thread id
my $tid = APR::OS::current_thread_id();
Description
"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.
API
"APR::OS" provides the following methods:
"current_thread_id"
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
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 Also
mod_perl 2.0 documentation.
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
Authors
The mod_perl development team and numerous contributors.
perl v5.14.2 2011-02-08 libapache2-mod-perl2-2.0.7::docs::api::APR::OS(3pm)