mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-04 22:53:08 +00:00
remove comment
This commit is contained in:
parent
57a1918ac4
commit
a9373f6d43
@ -29,15 +29,6 @@ type
|
||||
## SharedPtr that allocates a shared buffer and keeps the
|
||||
## memory allocated until all references to it are gone.
|
||||
##
|
||||
## Important:
|
||||
## On `refc` that "internal" destructors for ThreadResult[T]
|
||||
## are *not* called. Effectively limiting this to 1 depth
|
||||
## of destructors. Hence the `threadSafeType` marker below.
|
||||
##
|
||||
## Edit: not sure this is quire accurate, but some care
|
||||
## needs to be taken to verify the destructor
|
||||
## works with the specific type.
|
||||
##
|
||||
## Since ThreadResult is a plain object, its lifetime can be
|
||||
## tied to that of an async proc. In this case it could be
|
||||
## freed before the other background thread is finished.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user