|
From: | Paul Kienzle |
Subject: | Re: handle graphics |
Date: | Fri, 15 Jul 2005 19:38:43 -0400 |
I would argue for threads over shared memory for much the reason Paul T gives below, with the added advantage that it will work natively in Windows without cygwin.
- Paul On Jul 15, 2005, at 4:44 PM, Paul Thomas wrote:
Shai,It works fine, as long as the required services are up and running. This is not the default but can easily be added to profile files. There is quite a lot about this in the Cygwin documentation.of data to be plotted. Shared memory seems the most natural, but I'm not sure it quite works on cygwin.I wonder if threads would not be better? Thread safeness is not a problem, if each thread uses a different io resource. If the octave thread holds the console window and each other thread a different graphics window, things should run smoothly. The common memory and signalling is a matter of design but would not be different to shared memory. Since the system overheads are less, threads should offer a performance advantage.Paul T
[Prev in Thread] | Current Thread | [Next in Thread] |