Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Test::More and semaphore handles on Windows

by blm (Hermit)
on Aug 25, 2004 at 04:02 UTC ( #385578=note: print w/replies, xml ) Need Help??

in reply to Test::More and semaphore handles on Windows

I get the same

On my machine (Windows XP SP1 and ActiveState Perl 5.8.4):

Your first example:

100,000 iterations ---> 140,021 handles 10 iterations ---> 161 handles.

Second example:

100,000 iterations ---> 400,019 handles 10 iterations ---> 59 handles.

Maybe this is specific to the core modules with the 5.8 distribution?

On windows XP with Activestate Perl 5.6.1 the first program only uses 16 handles according to windows task manager. This seems independant of how many iterations are performed up to 100000.

The second doesn't run as there is no Threads::Shared installed with the default install of Activestate Perl 5.6.1

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://385578]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2023-03-20 22:11 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (59 votes). Check out past polls.