Re: Logging librarie

Martin Simmons <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
>>>>> On Tue, 03 Mar 2026 09:40:37 +0300, Dmitry Ivanov (as ystok-systema at mail dot ru) said:
> 
> So I have switched to the "ordinary" capi:collector-pane instead. But I  
> wonder if it thread-safe.
> (Hope so as output to a capi:collector-pane instance should go through the  
> capi:apply-in-pane-process queue.)

Yes, capi:collector-pane is thread-safe (the LW IDE uses it to implement the
background output stream, which can be used from any thread).

However, beware that CL output functions such as format and write-line are not
atomic, so you might get interleaved output.  write-string is atomic for
capi:collector-pane.

-- 
Martin Simmons
LispWorks Ltd
http://www.lispworks.com/

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.