Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^4: Replacing closures (to work around threads crash)

by eyepopslikeamosquito (Chancellor)
on Nov 22, 2004 at 08:53 UTC ( #409523=note: print w/replies, xml ) Need Help??

in reply to Re^3: Replacing closures (to work around threads crash)
in thread Replacing closures (to work around threads crash)

I would not have chosen threads. The team who designed the application stress tested it (with no crashes) -- then went on holiday. When it ran up on a very large customer multi-processor box it started crashing intermittently and I was asked to investigate.

I suppose a non-threaded solution is an option, but, given the size of the system (and my lack of tuits) it won't happen quickly. Anyway, the good news is that by replacing the closures, I've got the crashes to go away. I've also got them to go away by crudely hacking Dave Mitchell's closure patch (Change 23433 by davem on 2004/10/29 21:04:17) into our Windows build (this patch is not in Perl 5.8.x yet because it breaks the Windoze build -- see "Smoke [5.9.2] 23450" thread on p5p). Update: Dave's patch has been fixed for Win32 by change 23499.

  • Comment on Re^4: Replacing closures (to work around threads crash)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2019-06-20 10:56 GMT
Find Nodes?
    Voting Booth?
    Is there a future for codeless software?

    Results (89 votes). Check out past polls.