Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: defunct process are WAY beyond my experienc

by sundialsvc4 (Abbot)
on Jul 04, 2017 at 23:41 UTC ( #1194175=note: print w/replies, xml ) Need Help??


in reply to defunct process are WAY beyond my experienc

The current comments in perldoc threads (describing version 2.15) are certainly enough to give me pause:

The “interpreter-based threads” provided by Perl are not the fast, lightweight system for multitasking that one might expect or hope for.   Threads are implemented in a way that make them easy to misuse.   Few people know how to use them correctly or will be able to provide help.   The use of interpreter-based threads in perl is officially discouraged.
(I copied the same perlpolicy hyperlink for “discouraged” that was used in that perldoc.)

Since this is a “10 year old” program, what version of Perl was it written for, and what version is it running on now?   I would be interested to know from other Monks – who will know what I do not – should (can?) this program be continued as-is using the now 10-year old strategies that it represents, or is it a dead end?   And, if so, what threading technique should now replace it?

  • Comment on Re: defunct process are WAY beyond my experienc

Replies are listed 'Best First'.
Re^2: defunct process are WAY beyond my experienc
by choroba (Chancellor) on Jul 05, 2017 at 09:25 UTC
Re^2: defunct process are WAY beyond my experienc
by Anonymous Monk on Jul 05, 2017 at 02:30 UTC

    I would be interested to know from other Monks

    Then why don't you search for it ? I mean you've dispensed enough "expert" advice over the years you should already know the answer to a question the OP never asked

      I finally got to the bottom of why my script and threads were hanging. This glibc patch fixed the problem. Bug 906468 - Deadlock in glibc between fork and malloc:

      https://bugzilla.redhat.com/show_bug.cgi?id=906468

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1194175]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2017-09-26 02:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (291 votes). Check out past polls.

    Notices?