in reply to Re^2: Waiting for multiple filehandles (threads)
in thread Waiting for multiple filehandles
Anyone using threads in Perl should read Things you need to know before programming Perl ithreads.
Update: I guess I should clarify my position a bit, since I seem to have ruffled BrowserUk's feathers with this post. For me, personally, myself, in my code, on my machine, I agree with merlyn. I might consider using lightweight threads, but Perl's are not. They seem like a bad imitation of a real fork. I think the design of Perl's threads is broken, not the idea of threads in general.
That being said, I was not trying to persuade anybody not to use threads. If I was, I would have said so. I was simply trying to refer to an article that brings up an important caveat about Perl's threads. As I said later, I think it's important that people know about this caveat. It makes Perl's threads -- as designed and implemented -- distinct from the common understanding of what threads are, and it deserves to be highlighted and explained to folks who are using them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Waiting for multiple filehandles (threads)
by merlyn (Sage) on Mar 22, 2005 at 19:16 UTC | |
| |
|
Re^4: Waiting for multiple filehandles (threads)
by BrowserUk (Patriarch) on Mar 22, 2005 at 18:57 UTC | |
by Tanktalus (Canon) on Mar 22, 2005 at 19:07 UTC | |
by BrowserUk (Patriarch) on Mar 22, 2005 at 19:27 UTC | |
by Mugatu (Monk) on Mar 22, 2005 at 19:10 UTC | |
|