New startup and other changes to McCLIM's listener - Lisp Propulsion Laboratory log

Lisp Propulsion Laboratory log

Paolo Amoroso's weblog. Main interests: Lisp, astronomy (Moon), space exploration (Apollo and early manned programs) Calendar of past entries | Related links xml

New startup and other changes to McCLIM's listener

Wednesday, August 25, 2004

Andy Hefner has committed to McCLIM's CVS source tree some changes related to the CLIM Listener. He fixed a wholine pane redisplay issue and removed what remained of the listener's top-level function.

Among the user-visible changes, Andy added new keyword parameters to the function that starts the listener, clim-listener:run-listener:

:eval
A form or function that will be evaluated within the listener at startup.
:new-process
If t the listener will run in a new thread, otherwise in the current one.
:process-name
A string naming the new thread.
The :new-process parameter makes obsolete the function clim-listener:run-listener-process, which has been removed.

Here is a sample run of the listener with the new startup parameters (SLIME under GNU Emacs and CMUCL on a Linux system):

CL-USER> (clim-listener:run-listener :new-process t
				     :eval (princ "Hello CLIM")
				     :process-name "My CLIM Listener Process")
Hello CLIM
#<Process My CLIM Listener Process {58FB1925}>
CL-USER> (mp:show-processes)
#<Process #<CLIM-CLX::CLX-PORT :HOST "" :DISPLAY-ID 0 {5904A4AD}>'s event process.
  {58391E3D}> "Input Wait" ACTIVE
#<Process My CLIM Listener Process {58FB1925}> "Run" ACTIVE
-> #<Process repl-thread {5899394D}> "Run" ACTIVE
#<Process reader-thread {58992F3D}> "Input Wait" ACTIVE
#<Process control-thread {58992D25}> "receive" ACTIVE
#<Process Top Level Loop {5890C8DD}> "Input Wait" ACTIVE
#<Process Idle Loop {58004E15}> "Run" ACTIVE
NIL
CL-USER> 


Copyright © 2004 by Paolo Amoroso
amoroso@mclink.it

Created with BlogMax

August 2004
Mon Tue Wed Thu Fri Sat Sun
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Jul  Sep
About Lisp | Practical Common Lisp (learn Lisp) | Planet Lisp (blog agregator) | Common Lisp Directory (software and resources) | Why Lisp?