Lisp HUG Maillist Archive

CAPI:COLLECTOR-PANE?

I'm seeing some infrequent, but odd, behavior when writing to a CAPI:OUTPUT-PANE as though it were a stream, using things like PRINC, PRINT, PRINT-LINE, and FORMAT. 

I thought perhaps these might be caused by failing to perform the output within a CAPI:APPLY-IN-PANE-PROCESS (LWM), and indeed, if I do that it *might* be working ... but it is hard to tell because then the process management gets locked out by busy output to the pane and the output is flashing by so quickly I can't really tell what is happening. I can't seem to break the process and my only choice seems to be one of killing the entire LWM process, using the Mac Activity Monitor.

Has anyone else encountered these kinds of problems -- and if so, have you found a working solution?

David McClain
Chief Technical Officer
Refined Audiometrics Laboratory
4391 N. Camino Ferreo
Tucson, AZ  85750

email: dbm@refined-audiometrics.com
phone: 1.520.390.3995
web: http://www.refined-audiometrics.com
Skype: dbmcclain


Re: CAPI:COLLECTOR-PANE?

David McClain <dbm@refined-audiometrics.com> writes:

> I thought perhaps these might be caused by failing to perform the  
> output within a CAPI:APPLY-IN-PANE-PROCESS (LWM), and indeed, if I do  
> that it *might* be working ... but it is hard to tell because then  
> the process management gets locked out by busy output to the pane and  
> the output is flashing by so quickly I can't really tell what is  
> happening. I can't seem to break the process and my only choice seems  
> to be one of killing the entire LWM process, using the Mac Activity  
> Monitor.
>
> Has anyone else encountered these kinds of problems -- and if so,  
> have you found a working solution?

The mac version has a disadvantage over the other versions: The GUI
runs in a single thread, so if you should take care that code that you
execute within CAPI:APPLY-IN-PANE-PROCESS or
CAPI:EXECUTE-WITH-INTERFACE doesn't take too long to execute, since
it will block the GUI while it executes.

I don't know how you wrapped apply-in-pane-process around your code,
but if you wrapped it around your entire output code (and not only
single format/print/whatever statements), then you have an explanation.

-- 
  (espen)


Updated at: 2020-12-10 08:45 UTC