Core: new blenlib library for implicit-sharing #105994
|
@ -25,9 +25,9 @@ namespace blender {
|
||||||
* that is currently shared, it has to make a copy first.
|
* that is currently shared, it has to make a copy first.
|
||||||
* This behavior is also called "copy on write".
|
* This behavior is also called "copy on write".
|
||||||
*
|
*
|
||||||
* On top of containing a reference count, #ImplicitSharingInfo also knows how to destruct the
|
* In addition to containing the reference count, #ImplicitSharingInfo also knows how to destruct
|
||||||
* referenced data. This is important because the code freeing the data in the end might not know
|
* the referenced data. This is important because the code freeing the data in the end might not
|
||||||
* how it was allocated (for example, it doesn't know whether an array was allocated using the
|
* know how it was allocated (for example, it doesn't know whether an array was allocated using the
|
||||||
* system or guarded allocator).
|
* system or guarded allocator).
|
||||||
*
|
*
|
||||||
* #ImplicitSharingInfo can be used in two ways:
|
* #ImplicitSharingInfo can be used in two ways:
|
||||||
|
|
Loading…
Reference in New Issue