[Bese-devel] LispWorks and UCW

Juergen Gmeiner gj at gjdv.at
Tue Apr 5 15:34:20 UTC 2005


Marco Baringer wrote:
> Juergen Gmeiner <gj at gjdv.at> writes:
> 
>>>how can we check for this?
>>>
>>
>>i don't know, but i've asked on the lisphug mailing list.
>>i'll let you know if/when i hear something. 
> 
> ok.
> 

from a response by dave fox:

  > how do i know if multiprocessing has been enabled in an image
  > by calling mp:initialize-multiprocessing?
  >
  > i am asking because ucw with the mod_lisp backend currently just runs
  > in the thread it was started in.  starting it in a separate thread
  > can be easily achieved by a read-time cond on :lispworks, but
  > doing this by default would break ucw for non-mp images ...
  >
  > so is there something like mp:multiprocessing-initialized-p ?

No, but you could simply treat the value of MP:*CURRENT-PROCESS* as a
generalized boolean, or similarly the value returned by
MP:LIST-ALL-PROCESSES.

cheers,
juergen



More information about the bese-devel mailing list