CAPI in multi-threaded console Take #2
Hello, I don't know what keystroke I made, sorry for the previous short message. In Windows XP I have console-capi.lisp: (in-package "CL-USER") (load-all-patches) (save-image "lw-ilisp-capi" :restart-function 'mp:initialize-multiprocessing :environment nil :console t) (quit) and I then lispworks-4200 -init console-capi.lisp If I then run lw-ilisp-capi (some-capi-contain) The capi window appears but the cursor is an hourglass over the capi elements. So if I then lw-ilisp-capi (mp:process-run-function "Test CAPI" nil 'some-capi-contain) things seem to work normally, i.e. a window appears, I can select items in a list in the window, I can interact with the console etc. ... until a condition causes the debugger to appear. After the condition, I can interact with the debugger until e.g. I try :top. Then everything hangs. #\Control-\c at that point gives me a continue or abort option, but it will just hang again i.e. I cannot get back to top level. (quit) works although sometimes the first (quit) throws me back down the stack and I have to enter (quit) again (multiple threads there?). Next, I take that same save-image into ilisp. Everything works the same up to the (mp:process-run-function ... returning a #<MP:PROCESS Name "Test CAPI"... object. However, the CAPI window never appears. I can continue to interact with the lisp in the ilisp window but (mp:list-all-processes) returns nil. Thank you for your help. I googled for hours and haven't figured it out yet. Jeff Caldwell __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com