guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request to add *-resize! functions for contiguous mutable data struc


From: Taylan Kammer
Subject: Re: Request to add *-resize! functions for contiguous mutable data structures.
Date: Sat, 7 Aug 2021 19:46:39 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

On 07.08.2021 13:09, Maxime Devos wrote:

> 
> A problem is that this prevents optimisations and can currently
> introduce bugs in concurrent code.  Consider the following code:
> 
> [... snip ... ]
> 
> Greetings,
> Maxime.
> 

Couldn't we just state that resizing a vector/bytevector is a
thread-unsafe operation?

-- 
Taylan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]