Re: UNIX os stuff in lisp

From: Jim Newton (jimka_at_rdrop.com)
Date: 11/18/04


Date: Thu, 18 Nov 2004 21:18:31 +0100

I'm taking a look at
<http://common-lisp.net/project/cmucl/doc/cmu-user/extensions.html#toc46>
and i have some questions about the :status-hook.
It is a function that gets called automatically when my child process's
status changes. What happens if i have 100 child processes and many of
their statuses change at about the same time? Do i need to worry
about this? What if the status changes before i get finished
creating all my processes? What if the status-hook function is
running, and before it finishes another processes status changes?
Do i need to implement a locking mechanism myself to handle this
situation?

-jim

Jim Newton wrote:
> hey that function sure beats the &^&* out of perl's "system"
> function huh?
>
> -jim
>
> Edi Weitz wrote:
>
>> On Thu, 18 Nov 2004 19:51:47 +0100, Jim Newton <jimka@rdrop.com> wrote:
>>
>>
>> <http://common-lisp.net/project/cmucl/doc/cmu-user/extensions.html#toc46>
>>
>> Edi.
>>
>