Re: mod_perl2.0 / TIPool

2002-06-13 Thread Doug MacEachern

On Thu, 13 Jun 2002, Stathy G. Touloumis wrote:

 Is there an idea of when the TIPool API will be available for mod_perl 2.0?

probably never now that threads::shared has been implemented in perl-5.8, 
which can be used to provide the same functionality (i think).
threads::shared came to be after writing about the Perl interface to 
TIPool.





Re: mod_perl2.0 / TIPool

2002-06-13 Thread Matt Sergeant

On Thursday 13 June 2002 10:46 pm, Doug MacEachern wrote:
 On Thu, 13 Jun 2002, Stathy G. Touloumis wrote:
  Is there an idea of when the TIPool API will be available for mod_perl
  2.0?

 probably never now that threads::shared has been implemented in perl-5.8,
 which can be used to provide the same functionality (i think).
 threads::shared came to be after writing about the Perl interface to
 TIPool.

Also note perl.com is now running an article on threads::shared.

http://www.perl.com/pub/a/2002/06/11/threads.html

It's mainly aimed at module authors, but it could be of interest anyway.



Re: threads in 5.8 (was: mod_perl2.0 / TIPool)

2002-06-13 Thread John Siracusa

On 6/13/02 5:58 PM, Matt Sergeant wrote:
 Also note perl.com is now running an article on threads::shared.
 
 http://www.perl.com/pub/a/2002/06/11/threads.html
 
 It's mainly aimed at module authors, but it could be of interest anyway.

Does anyone know the logic behind making the threads modules all lowercase?
I'd expect it to be Threads::Shared, not threads::shared.

-John




Re: threads in 5.8 (was: mod_perl2.0 / TIPool)

2002-06-13 Thread Matt Sergeant

On Thursday 13 June 2002 11:37 pm, John Siracusa wrote:
 On 6/13/02 5:58 PM, Matt Sergeant wrote:
  Also note perl.com is now running an article on threads::shared.
 
  http://www.perl.com/pub/a/2002/06/11/threads.html
 
  It's mainly aimed at module authors, but it could be of interest anyway.

 Does anyone know the logic behind making the threads modules all lowercase?
 I'd expect it to be Threads::Shared, not threads::shared.

Pragmas are lowercase. And use threads; is really a pragma.

Matt.



Re: threads in 5.8 (was: mod_perl2.0 / TIPool)

2002-06-13 Thread John Siracusa

On 6/13/02 6:40 PM, Matt Sergeant wrote:
 Does anyone know the logic behind making the threads modules all lowercase?
 I'd expect it to be Threads::Shared, not threads::shared.
 
 Pragmas are lowercase. And use threads; is really a pragma.

A pragma with class methods?  A pragma that exports functions?  Maybe I'm
confused about the distinction between a pragma and a module...

-John




Re: threads in 5.8 (was: mod_perl2.0 / TIPool)

2002-06-13 Thread Matt Sergeant

On Thursday 13 June 2002 11:50 pm, John Siracusa wrote:
 On 6/13/02 6:40 PM, Matt Sergeant wrote:
  Does anyone know the logic behind making the threads modules all
  lowercase? I'd expect it to be Threads::Shared, not threads::shared.
 
  Pragmas are lowercase. And use threads; is really a pragma.

 A pragma with class methods?  A pragma that exports functions?  Maybe I'm
 confused about the distinction between a pragma and a module...

It's a really fine line ;-)

See also use fields.



Re: mod_perl2.0 / TIPool

2002-06-13 Thread Stas Bekman

Doug MacEachern wrote:
 On Thu, 13 Jun 2002, Stathy G. Touloumis wrote:
 
 
Is there an idea of when the TIPool API will be available for mod_perl 2.0?
 
 
 probably never now that threads::shared has been implemented in perl-5.8, 
 which can be used to provide the same functionality (i think).
 threads::shared came to be after writing about the Perl interface to 
 TIPool.

what about perl  5.8.0?

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Re: threads in 5.8 (was: mod_perl2.0 / TIPool)

2002-06-13 Thread Medi Montaseri


We are really having fun here of courseand personally I'm more interested
in
the features than the writing Thread or thread...but perhaps one place
to draw the
line would be
If a directive or hint changes the behavior of the compiler or interpreter
in a
non-reversable fashion then it deserve to be called a pragma. ie the
'no mod'
is not supported, similar to 'use diagnostics'.
Anything else that can be turned on and off at run time, could be called
a module.
So 'use integer' falls in that category.
This approach allows the interpreter designer to fully take advantages
of the
optimization opportunities or plan of actions.
Having said that I was drawn to this language, because I (as a perl
programmer)
can be schizophrenic and the language accommodates me, Ican change
everything
at run timethanks Perl
Matt Sergeant wrote:
On Thursday 13 June 2002 11:50 pm, John Siracusa
wrote:
> On 6/13/02 6:40 PM, Matt Sergeant wrote:
> >> Does anyone know the logic behind making the threads modules all
> >> lowercase? I'd expect it to be Threads::Shared, not threads::shared.
> >
> > Pragmas are lowercase. And use threads; is really a pragma.
>
> A pragma with class methods? A pragma that exports functions?
Maybe I'm
> confused about the distinction between a pragma and a module...
It's a really fine line ;-)
See also use fields.

--
-
Medi Montaseri [EMAIL PROTECTED]
Unix Distributed Systems Engineer HTTP://www.CyberShell.com
CyberShell Engineering
-