Tux

...making Linux just a little more fun!

Talkback:107/pai.html

[ In reference to "Understanding Threading in Python" in LG#107 ]

Ben Okopnik [ben at linuxgazette.net]
Sat, 24 Feb 2007 17:24:16 -0500

[[[ Ben's comment refers to the original format of this message, which had a different title. I have renamed the thread to conform with the usual Talkback: scheme. - Kat ]]]

[ cc'd to original author, Krishna G Pai ]

On Tue, Feb 13, 2007 at 05:20:58AM -0500, gnuyoga wrote:

> 
> Link https://linuxgazette.net/107/pai.html
> Section:
> 4.3 Profiling Threaded Code.
> .
> .
> .
> We get some surprising results, notably the following..
> 
> Running 2 threads took 0.000 seconds
> Running Without Threads took 5.160 seconds
> 
> 
> Correct ans:
> Running 2 threads took 6.170 seconds
> Running Without Threads took 6.810 seconds

It appears to me that the author has explained why the result is showing 0.000 seconds: 'run' never gets called, as it says in his article. Was there something you wanted to add?

In the future, please use the Talkback: link at the bottom of each article to comment on it; that sends the mail to the correct address and allows The Answer Gang to discuss it. I've forwarded your e-mail to TAG for you, this time.

Thanks,

-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * https://LinuxGazette.NET *

Top    Back


Jimmy ORegan [joregan at gmail.com]
Sat, 24 Feb 2007 22:31:38 +0000

On 24/02/07, Ben Okopnik <ben at linuxgazette.net> wrote:

> In the future, please use the Talkback: link at the bottom of each
> article to comment on it;

That would be a little difficult in this case, as this article predates the talkback mechanism.


Top    Back


Ben Okopnik [ben at linuxgazette.net]
Sat, 24 Feb 2007 18:10:31 -0500

On Sat, Feb 24, 2007 at 10:31:38PM +0000, Jimmy O'Regan wrote:

> On 24/02/07, Ben Okopnik <ben at linuxgazette.net> wrote:
> > In the future, please use the Talkback: link at the bottom of each
> > article to comment on it;
> 
> That would be a little difficult in this case, as this article
> predates the talkback mechanism.

Whoops. In any case, the principle holds good - I prefer that anyone following up to articles use the mechanism, and it never hurts to remind the readers :)

Unfortunately, the author seems to have disappeared, or at least his e-mail address comes back dead.

-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * https://LinuxGazette.NET *

Top    Back