in reply to Re^2: Multithreaded xml writing using XML::Writer
in thread Multithreaded xml writing using XML::Writer
I wonder what you try to gain by using multiple threads with what is essentially an IO-bound operation.
I wouldn't try to do IO on the same channel with more than one thread. If you want to create XML fragments and output them in parallel, I would create the fragments in separate threads and send them to one output thread via Thread::Queue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Multithreaded xml writing using XML::Writer
by DreamT (Pilgrim) on May 03, 2010 at 12:02 UTC |