Article View: comp.lang.lisp
Article #115Re: read-file for sbcl
From: tfb
Date: Thu, 03 Dec 2026 10:47
Date: Thu, 03 Dec 2026 10:47
15 lines
1875 bytes
1875 bytes
tfb <tfb@work.it.out> wrote: > > This function is used to allocate a buffer the guts of which is then passed > to foreign code. I don't know for sure but I assume that SBCL's GC > relocates objects, possibly while the foreign code is running. If it can, > the results will be catastrophic. LW has options to 'pin' objects, for > just this reason. may be SBCL gets round this some other way? It gets round it a similar way. There's a macro called with-pinned-objects which will pin a number of objects during its dynamic extent. So the vector needs to be pinned. -- tfeb.org/computer/
Technical Details
Message-ID:
<11erhc2$79ce$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<87ld6gl8ah.fsf@gmail.com> <11em62r$1gota$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: tfb <tfb@work.it.out> Newsgroups: comp.lang.lisp Subject: Re: read-file for sbcl Date: Thu, 3 Dec 2026 10:47:30 -0000 (UTC) Organization: A noiseless patient Spider Lines: 15 Message-ID: <11erhc2$79ce$1@dont-email.me> References: <87ld6gl8ah.fsf@gmail.com> <11em62r$1gota$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 03 Dec 2026 10:47:31 +0000 (UTC) Injection-Info: dont-email.me; logging-data="238990"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/bjj/ShCO96S7aBCyCU5I8"; posting-host="e7f0336dbfab7f079a31c731e1f24914" User-Agent: NewsTap/6.0 (iPad) Cancel-Lock: sha1:PmFR2CGWQV5CA2jNyJoVa4zEQeo= sha1:z7tCtlYDZtppraZ6GO5tJVnqkog= sha256:ugaJfgGLSPyjHBuMyqIxcmvI/7L8looco2RmEOP8/O0= sha1:Aj4snSLGc7wT6oUDQpPw8zVaNpI= sha256:0KuFQdOqYgvq6oSVlYhoBQodjEOyhPmK0zWcUFXNftA= X-Face: MUamY>^a5S.|?6RN|-|NWN5bt&pk2lG9&5,.QQ4