From: Carlo
Subject: Safe read/write with hunchentoot?
Date: 
Message-ID: <c68fb8ab-24a6-4347-a72c-6b9f60b3b926@k1g2000prb.googlegroups.com>
One hunchentoot page handler appends data to a list.

Another hunchentoot page handler checks if that data is there yet.

What is the simplest way to ensure clean output even if the append is
still going on when the write starts?

Thank you for your help, Carlo
From: Leslie P. Polzer
Subject: Re: Safe read/write with hunchentoot?
Date: 
Message-ID: <8a8c7fd9-fafe-4840-b2d4-c3cf4c231d9c@i20g2000prf.googlegroups.com>
On Nov 13, 11:01 am, Carlo <······@carlocapocasa.com> wrote:
> One hunchentoot page handler appends data to a list.
>
> Another hunchentoot page handler checks if that data is there yet.
>
> What is the simplest way to ensure clean output even if the append is
> still going on when the write starts?
>
> Thank you for your help, Carlo

I'm not sure what the second half of your last sentence means
("if the append is still going when the write starts"?) but
you might be looking for mailboxes/condition variables/waitqueues.

SBCL offers this, for example.

  Leslie