[Ecls-list] Changes in MP:PROCESS-JOIN
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Tue Jan 19 13:30:17 UTC 2010
- PROCESS-JOIN was exported from the wrong package.
- PROCESS-JOIN would fail when called while a thread was being started.
- The output values of a process or thread are now collected in the process
object and returned by PROCESS-JOIN.
- The interrupt servicing thread must explicitely include the interrupt
among the ones it captures. Otherwise it will never be interrupted
ECL (Embeddable Common-Lisp) 10.1.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level in: #<process SI:TOP-LEVEL 00000001004c0f60>.
> (defvar *a* (mp:process-run-function 'mythread
(catch 'foo (loop (print 1) (sleep 3))))))
[... many repetitions...]
(mp:interrupt-process *a* #'(lambda () (throw 'foo 2)))
#<process MYTHREAD 00000001028baba0>
> (mp:process-join *a*)
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel