Hi Kamen,

If you organize the "long file-copying operations" properly - it is 
possible to use SERVE-EVENT for multitasking-like stuff. Generally it 
works on file handles. The long read/write operations should be split 
in smaller chunks - however I am not sure what functions you should 
use. I have done in the past such multitasking-like stuff - but mainly 
with sockets.

BR
        Vlado



On Sunday, April 9, 2006, at 10:54  PM, Kamen TOMOV wrote:

>
> On Fri, Apr 07 2006, Kamen TOMOV wrote:
>
>> I run a server that works in a multi-threaded mode under CMUCL. As
>> far as I understand MP (multiprocessing) in CMUCL runs on top of
>> SERVE-EVENT mechanism. I expect to have long file-copying operations
>> so in order to keep my server responsive I need to make such
>> operations run in the background.
>>
>> So my question is - is it OK to mess with the SERVE-EVENT functions
>> such add-fd-handler, remove-fd-handler etcetera while
>> multiprocessing is being run under CMUCL? What is the proper way to
>> do it?
>
> I recently posted this issue to comp.lang.lisp but did not get a
> response. It is CMUCL related so I would be grateful if you advise
> about it.
>
>


Reply via email to