in reply to Re^3: threads on Windows
in thread threads on Windows
The architectural concept came from trying to add a layer of abstraction between the interface and the workers. I'd like all GUI events filtered through a boss prior to being delegated appropriately and all threads reporting results to the boss so they don't need to have any visualization coupling. The final application I'm working toward (in a very long-term sense) is complex curve-fitting and visualization in chemical engineering, with poss. Given the individual complexity of each task, I want a clear bulkhead between the two sides.
That means you are absolutely correct in saying this conflation of loops was some attempt to bring all the interaction, input and output, together into a single thread
My intent was to perform most message passing by way of queues and use thread signaling for tasks that don't lend themselves to that approach. If the general concept (as contrasted with implementation) is flawed, I love to get set straight. This literally represents my first attempts to use threaded Perl, where I have a reasonable parallel computing background in MPI and OpenMP for scientific Fortran 9x.
Thanks for the help, insight and homework.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: threads on Windows
by BrowserUk (Patriarch) on Feb 13, 2009 at 20:37 UTC | |
by kennethk (Abbot) on Feb 17, 2009 at 22:45 UTC | |
by BrowserUk (Patriarch) on Feb 18, 2009 at 15:22 UTC | |
by kennethk (Abbot) on Feb 18, 2009 at 16:38 UTC | |
by BrowserUk (Patriarch) on Feb 19, 2009 at 04:34 UTC | |
|