Re: [Tutor] logic for a tree like structure

2007-12-09 Thread Tiago Saboga
On Sat, Dec 08, 2007 at 04:13:19PM -0800, Jeff Younker wrote: > Pipes and IO channels are buffered. The buffers are much larger than > the amount of information you are writing to them, so they're never getting > flushed while the program is running. The child program completes, the > IO channe

Re: [Tutor] logic for a tree like structure

2007-12-08 Thread Jeff Younker
Pipes and IO channels are buffered. The buffers are much larger than the amount of information you are writing to them, so they're never getting flushed while the program is running. The child program completes, the IO channel closes, and it flushes out the output. My advice is to forget abo

[Tutor] logic for a tree like structure

2007-12-08 Thread Tiago Saboga
Hi, I need an additional thread in my app, and I am trying to understand how it works. Alas, all I found about threads is too simple (does not fit in my real life problem) or too complicated. The best thing I've read until now is the great tutorial by Norman Matloff, but it isn't enough. If you co