Hi Shlomi,

I just want to rewrite some of the already existing modules to make use of 
threading, only to enhance my skills on multi threading and nothing more. The 
end result will not line up for production. Just curious to know how 
multithreading works in Perl.

Thanks Shlomi for your heads up and explaining me the cons of Multithreading in 
Perl. This will just be an academic exercise for me to benchmark the previous 
code with newly written modules which make use of multithreading.
 

Sincerely,
Shaji 
-------------------------------------------------------------------------------
Your talent is God's gift to you. What you do with it is your gift back to God.
-------------------------------------------------------------------------------


________________________________
 From: Shlomi Fish <shlo...@shlomifish.org>
To: Perl Beginners <beginners@perl.org> 
Sent: Wednesday, 4 September 2013 9:41 PM
Subject: Re: Resources on Multi threading
 

Hi Shaji,

On Wed, 4 Sep 2013 23:57:33 +0800 (SGT)
*Shaji Kalidasan* <shajiin...@yahoo.com> wrote:

> Dear Perlers,
> 
> I need some resources (tutorials/documents) with some basic examples on Multi
> threading for my understanding as I need to write a task which makes use of
> threads.
> 
> Any pointers to resources and good tutorials with some simple examples will
> be of immense help.
> 

For why you should not use threads in Perl, see:

*
http://perl-begin.org/FAQs/freenode-perl/#I.27m_trying_to_use_threads_to_speed_up_my_program._What_should_I_know.3F

* http://perl-begin.org/uses/multitasking/#threads

(**NOTE**: http://perl-begin.org/ is a site I originated and still maintain -
all caveats apply.)

Why do you think you need to use threads? Perhaps describe your problem and we
can suggest an alternative. See "XY Problem" at:

http://www.perlmonks.org/?node_id=542341

Regards,

    Shlomi Fish

> Thank you,
>  
> best,
> Shaji 
> -------------------------------------------------------------------------------
> Your talent is God's gift to you. What you do with it is your gift back to
> God.
> -------------------------------------------------------------------------------

-- 
-----------------------------------------------------------------
Shlomi Fish      http://www.shlomifish.org/
My Favourite FOSS - http://www.shlomifish.org/open-source/favourite/

I can imagine the headline: “Sarah Michelle Gellar, who played
Buffy the vampire slayer, murdered in cold blood by child daughter.”
    — http://www.shlomifish.org/humour/Summerschool-at-the-NSA/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/

Reply via email to