-
```
refcount is not proteced with spinlock and is not atomic
redo so that all negative values are forbidden?
refc++; if( refc < 0 ) refc--;
and
refc--; if( refc < 0 ) refc++;
these forms can wor…
-
Today `TransportRollupSearchAction` uses `respondAndRelease` to complete a listener which calls `TransportChannel#sendResponse` directly, representing two `decRef()` calls. There's a corresponding `in…
-
### 🐛 Describe the bug
Internal xref: https://fb.workplace.com/groups/1075192433118967/posts/1426066368031570/
The internal user decided to try a different approach which doesn't hit this problem,…
-
## Describe the bug
While looking at the results of the emerynet test of upgrade-14, we noticed an increase (by several hundred) in the number of resolved kernel promise table entries. Further inve…
-
Currently, we have a few small smoke tests to make sure that we don't decrement BoringSSL refcounts too far. However, we have no tests to ensure that we decrement refcounts far enough (in other words,…
-
- relates to https://github.com/moby/moby/pull/46770#discussion_r1383114243
The current interface only allows Incrementing and Decrementing, but does not allow getting the current reference-count…
-
## error log | 日志或报错信息 | ログ\
Thread 1 "test_ncnn" received signal SIGSEGV, Segmentation fault.
0x00007ffffefbc9c7 in ncnn::NetPrivate::do_forward_layer(ncnn::Layer const*, std::vector&, ncnn::Opti…
-
```
refcount is not proteced with spinlock and is not atomic
redo so that all negative values are forbidden?
refc++; if( refc < 0 ) refc--;
and
refc--; if( refc < 0 ) refc++;
these forms can wor…
-
```
refcount is not proteced with spinlock and is not atomic
redo so that all negative values are forbidden?
refc++; if( refc < 0 ) refc--;
and
refc--; if( refc < 0 ) refc++;
these forms can wor…
-
bool AbstractBuffersPool::isPoolBuffer(const BufferParentType *buffer) const {
static_assert(std::is_base_of_v);
return (buffer && this->mainStorage.get() == buffer); // for clang compil…