On Aug 19, 2009, at 12:18 AM, Pat LeSmithe wrote: > > On Jul 22, 9:23 pm, William Stein <wst...@gmail.com> wrote: >> On Wed, Jul 22, 2009 at 2:19 PM, ghtdak<gl...@tarbox.org> wrote: >>> My primary problem is that the Sage subprocess is blocking >>> forever on >>> the other side of the pipe when its not computing... Therefore, I >>> can't have a Sage sub-process that I'm using in the notebook that is >>> also able to communicate with other processes as I can't >>> asynchronously receive data (or get timing interrupts). I've gotten >>> around this in the past by using threads as it was the only choice I >>> had.
It sounds like you're trying to use the notebook as a monitor for long-running processes, which it wasn't designed for, but could be done. > > Are the following relevant, realistic examples? I wish to... > > * Start, monitor, stop, and/or steer a long-running computation from > a browser. The computation runs in a main loop that periodically > checks for incoming messages upon which to act and sends out new > messages as necessary. Sounds like dsage (or what dsage should become). > * Filter data automatically through a sequence of independent > worksheet processes. Again, sounds a lot like what dsage should have been. - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---